mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
github-action: Add AsciiDoc freeze warning (#748)
* github-action: Add AsciiDoc freeze warning * Update .github/workflows/comment-on-asciidoc-changes.yml
This commit is contained in:
parent
871e52b37a
commit
214c4645e9
21
.github/workflows/comment-on-asciidoc-changes.yml
vendored
Normal file
21
.github/workflows/comment-on-asciidoc-changes.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
---
|
||||
name: Comment on PR for .asciidoc changes
|
||||
|
||||
on:
|
||||
# We need to use pull_request_target to be able to comment on PRs from forks
|
||||
pull_request_target:
|
||||
types:
|
||||
- synchronize
|
||||
- opened
|
||||
- reopened
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
- "9.0"
|
||||
|
||||
jobs:
|
||||
comment-on-asciidoc-change:
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
uses: elastic/docs-builder/.github/workflows/comment-on-asciidoc-changes.yml@main
|
Loading…
x
Reference in New Issue
Block a user