We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 59bab13 commit 3dfed49Copy full SHA for 3dfed49
.github/workflows/auto-add-issues.yml
@@ -0,0 +1,29 @@
1
+name: Label new issues as needs-triage and add to CodeFlare Sprint Board
2
+on:
3
+ issues:
4
+ types:
5
+ - opened
6
+jobs:
7
+ add_label:
8
+ runs-on: ubuntu-latest
9
+ permissions:
10
+ issues: write
11
+ steps:
12
+ - uses: actions/github-script@v6
13
+ with:
14
+ script: |
15
+ github.rest.issues.addLabels({
16
+ issue_number: context.issue.number,
17
+ owner: context.repo.owner,
18
+ repo: context.repo.repo,
19
+ labels: ["triage/needs-triage"]
20
+ })
21
+
22
+ add-to-project:
23
+ name: Add issue to project
24
25
26
+ - uses: actions/[email protected]
27
28
+ project-url: https://github.com/orgs/project-codeflare/projects/8
29
+ github-token: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
0 commit comments