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: