Skip to content

Commit 60bd613

Browse files
committed
Create add_to_project.yml
Adds all new issues to project board
1 parent 3fe39ca commit 60bd613

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Adds all new issues to project board
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/add-to-project@v0.5.0
14+
with:
15+
project-url: https://github.com/orgs/rive-app/projects/12/views/1
16+
github-token: ${{ secrets.ADD_TO_PROJECT_ACTION }}
17+
18+
- uses: actions/github-script@v6
19+
with:
20+
script: |
21+
github.rest.issues.addLabels({
22+
issue_number: context.issue.number,
23+
owner: context.repo.owner,
24+
repo: context.repo.repo,
25+
labels: ["triage"]
26+
})

0 commit comments

Comments
 (0)