diff --git a/.github/workflows/comment-on-asciidoc-changes.yml b/.github/workflows/comment-on-asciidoc-changes.yml index 39d0d71c7..68c2def75 100644 --- a/.github/workflows/comment-on-asciidoc-changes.yml +++ b/.github/workflows/comment-on-asciidoc-changes.yml @@ -33,3 +33,6 @@ jobs: issue_number: context.payload.pull_request.number, body: 'It looks like this PR modifies one or more `.asciidoc` files. The documentation is currently under a documentation freeze. Please do not merge this PR. See the [migration guide](https://elastic.github.io/docs-builder/migration/index.html) to learn more.' }) + - name: Error if .asciidoc files changed + if: steps.check-files.outputs.asciidoc_changed == 'true' + run: exit 1