Skip to content

Commit 494ff61

Browse files
github-action: Add AsciiDoc freeze warning (#605)
* github-action: Add AsciiDoc freeze warning * Update .github/workflows/comment-on-asciidoc-changes.yml Co-authored-by: Tim Rühsen <[email protected]> * Update .github/workflows/comment-on-asciidoc-changes.yml * github-action: Add AsciiDoc freeze warning * github-action: Add AsciiDoc freeze warning * Update .github/workflows/comment-on-asciidoc-changes.yml --------- Co-authored-by: Tim Rühsen <[email protected]>
1 parent e05bb33 commit 494ff61

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
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+
- "9.0"
14+
15+
jobs:
16+
comment-on-asciidoc-change:
17+
permissions:
18+
contents: read
19+
pull-requests: write
20+
uses: elastic/docs-builder/.github/workflows/comment-on-asciidoc-changes.yml@main

0 commit comments

Comments
 (0)