From 75d7d2f17291e7b1e137839b1de3eac998ecfa0d Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Tue, 17 Oct 2023 12:34:40 +0100 Subject: [PATCH] chore: workflow for unapproved issues (#11937) * chore: workflow for unapproved issues * Update .github/workflows/comment-unapproved-issues --- .github/workflows/comment-unapproved-issues | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/comment-unapproved-issues diff --git a/.github/workflows/comment-unapproved-issues b/.github/workflows/comment-unapproved-issues new file mode 100644 index 0000000000..d2c98fca46 --- /dev/null +++ b/.github/workflows/comment-unapproved-issues @@ -0,0 +1,18 @@ +name: Add comment +on: + issues: + types: + - labeled +jobs: + add-comment: + if: github.event.label.name == '🚨 needs approval' + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - name: Add comment + uses: peter-evans/create-or-update-comment@5f728c3dae25f329afbe34ee4d08eef25569d79f + with: + issue-number: ${{ github.event.issue.number }} + body: | + This feature request has not been reviewed yet by the Product Team and needs approval beforehand. Once approved, this issue is available for anyone to work on. **Make sure to reference this issue in your pull request.** :sparkles: Thank you for your contribution! :sparkles: