We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e044144 + 068824f commit a3ed645Copy full SHA for a3ed645
1 file changed
.github/workflows/label-new-issue.yml
@@ -0,0 +1,23 @@
1
+name: Label New Issues
2
+
3
+on:
4
+ issues:
5
+ types: [opened]
6
7
+jobs:
8
+ label-issues:
9
+ runs-on: ubuntu-latest
10
+ permissions:
11
+ issues: write
12
+ contents: read
13
14
+ steps:
15
+ - name: Checkout repository
16
+ uses: actions/checkout@v6
17
+ - name: Add triage label
18
+ env:
19
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
+ ISSUE_NUMBER: ${{ github.event.issue.number }}
21
+ LABEL: "triage"
22
+ run: gh issue edit "$ISSUE_NUMBER" --add-label "$LABEL"
23
0 commit comments