Skip to content

Commit 30905b4

Browse files
authored
Also add error message to the workflow log (#394)
1 parent 162aa07 commit 30905b4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/comment-on-asciidoc-changes.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,6 @@ jobs:
4141
4242
- name: Error if .asciidoc files changed
4343
if: steps.check-files.outputs.any_changed == 'true'
44-
run: exit 1
44+
run: |
45+
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.'
46+
exit 1

0 commit comments

Comments
 (0)