We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b2dae5 commit 929f71fCopy full SHA for 929f71f
.github/workflows/add-to-project.yml
@@ -0,0 +1,28 @@
1
+name: Add new issues to AI Tour GH Project
2
+
3
+on:
4
+ issues:
5
+ types:
6
+ - opened
7
8
+jobs:
9
+ add-to-project:
10
+ name: Add issue to project
11
+ runs-on: ubuntu-latest
12
+ steps:
13
+ - uses: actions/[email protected]
14
+ with:
15
+ project-url: ${{ secrets.GH_PROJECT_URL }}
16
+ github-token: ${{ secrets.ADD_TO_PROJECT }}
17
+ label_issues:
18
+ needs: add-to-project
19
20
+ permissions:
21
+ issues: write
22
23
+ - run: gh issue edit "$NUMBER" --add-label "$LABELS"
24
+ env:
25
+ GH_TOKEN: ${{ secrets.ADD_TO_PROJECT }}
26
+ GH_REPO: ${{ github.repository }}
27
+ NUMBER: ${{ github.event.issue.number }}
28
+ LABELS: Migrate
0 commit comments