From 6356c833400fb25e25ed32f9d8fdddb75151cea2 Mon Sep 17 00:00:00 2001 From: Rohit Date: Fri, 16 Feb 2024 20:42:25 +0530 Subject: [PATCH] add workflow to notify docs triagers --- .github/workflows/notify-docs-triager.yml | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/notify-docs-triager.yml diff --git a/.github/workflows/notify-docs-triager.yml b/.github/workflows/notify-docs-triager.yml new file mode 100644 index 000000000000..13b89e7c5f27 --- /dev/null +++ b/.github/workflows/notify-docs-triager.yml @@ -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/checkout@v4.1.1 + + - 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/add-pr-comment@v2.8.2 + 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 }}