We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ae5cd3 commit d240905Copy full SHA for d240905
.github/workflows/label-issue.yml
@@ -0,0 +1,16 @@
1
+name: Label issue
2
+on:
3
+ issues:
4
+ types: [opened]
5
+
6
+jobs:
7
+ label:
8
+ name: Label issue
9
+ runs-on: ubuntu-latest
10
+ if: github.event.action == 'opened'
11
+ steps:
12
+ - name: Label issue
13
+ env:
14
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15
+ run: |
16
+ echo '{"labels": ["VSCode"]}' | gh api repos/${{ github.repository }}/issues/${{ github.event.issue.number }}/labels --input -
0 commit comments