Skip to content

Commit d15cb0b

Browse files
reakaleekMpdreamz
andauthored
github-action: Add AsciiDoc freeze warning (#474)
## Details ⚠️ This PR was created by an automated tool. Please review the changes carefully. ⚠️ Add a workflow that will comment on PRs with AsciiDoc changes. ## Why During the migration to Elastic Docs v3, the Docs team will focus exclusively on migrating content. To maintain consistency, prevent conflicts, and ensure a smoother transition we will freeze all AsciiDoc changes. This means you will get a warning when you create AsciiDoc changes in your PRs. See elastic/docs-builder#281 for details If there are any questions, please reach out to the @elastic/docs-engineering --------- Co-authored-by: Martijn Laarman <[email protected]>
1 parent ad67a24 commit d15cb0b

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Comment on PR for .asciidoc changes
3+
4+
on:
5+
# We need to use pull_request_target to be able to comment on PRs from forks
6+
pull_request_target:
7+
types:
8+
- synchronize
9+
- opened
10+
- reopened
11+
branches:
12+
- main
13+
- master
14+
- "9.0"
15+
16+
jobs:
17+
comment-on-asciidoc-change:
18+
permissions:
19+
contents: read
20+
pull-requests: write
21+
uses: elastic/docs-builder/.github/workflows/comment-on-asciidoc-changes.yml@main

0 commit comments

Comments
 (0)