Skip to content

Commit

Permalink
Also add error message to the workflow log
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Feb 3, 2025
1 parent 162aa07 commit e486dd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/comment-on-asciidoc-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,6 @@ jobs:
- name: Error if .asciidoc files changed
if: steps.check-files.outputs.any_changed == 'true'
run: exit 1
run: |
echo '::error::It looks like this PR modifies one or more .asciidoc files. These files are being migrated to Markdown, and any changes merged now will be lost. See the https://elastic.github.io/docs-builder/migration/freeze/index.html for details.'
exit 1

0 comments on commit e486dd2

Please sign in to comment.