From e486dd204e903fb8dfd531c150c9a2415e40673d Mon Sep 17 00:00:00 2001 From: Jan Calanog Date: Mon, 3 Feb 2025 09:41:26 +0100 Subject: [PATCH] Also add error message to the workflow log --- .github/workflows/comment-on-asciidoc-changes.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/comment-on-asciidoc-changes.yml b/.github/workflows/comment-on-asciidoc-changes.yml index cea555e05..567a8ec4c 100644 --- a/.github/workflows/comment-on-asciidoc-changes.yml +++ b/.github/workflows/comment-on-asciidoc-changes.yml @@ -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