forked from asyncapi/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add workflow to notify docs triagers
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Notify Docs-triagers | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
Notify-triagers: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repository | ||
uses: actions/[email protected] | ||
|
||
- name: Check PR Changes | ||
id: pr-changes | ||
uses: tj-actions/changed-files@v42 | ||
with: | ||
files: | | ||
**.md | ||
- name: Create Comment | ||
if: steps.pr-changes.outputs.any_changed == 'true' | ||
uses: mshick/[email protected] | ||
with: | ||
message: "The PR contains modifications to `.md` files, hence tagging Docs triagers for review and approval. | ||
cc: @alequetzalli @TRohit20 @octonawish-akcodes @BhaswatiRoy @VaishnaviNandakumar @Arya-Gupta @J0SAL" | ||
repo-token: ${{ secrets.GH_TOKEN }} |