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 ba780da commit 0b1e28aCopy full SHA for 0b1e28a
.github/workflows/auto-add-issues.yaml
@@ -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/add-to-project@v0.5.0
27
28
+ project-url: https://github.com/orgs/project-codeflare/projects/8
29
+ github-token: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}
0 commit comments