Skip to content

Commit d825b8c

Browse files
authored
chore: add action that comments on feature request label event (#1970)
1 parent 54514f4 commit d825b8c

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Feature request label added.
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
permissions:
8+
issues: write
9+
10+
jobs:
11+
project:
12+
name: Feature request message
13+
runs-on: ubuntu-latest
14+
if: ${{ github.event.label.name == 'feature-request' }}
15+
16+
steps:
17+
- name: add feature request comment
18+
shell: bash
19+
env:
20+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
21+
ISSUE_NUMBER: ${{ github.event.issue.number }}
22+
run: |
23+
gh issue comment $ISSUE_NUMBER --repo aws-amplify/amplify-ios -b "This has been identified as a feature request. If this feature is important to you, we strongly encourage you to give a 👍 reaction on the request. This helps us prioritize new features most important to you. Thank you!"

0 commit comments

Comments
 (0)