Skip to content

Commit f550df3

Browse files
committed
Add GitHub Actions workflow to add issues to project
1 parent 0741c58 commit f550df3

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/add_issue.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Adds all issues to project board
2+
3+
permissions:
4+
contents: read
5+
6+
on:
7+
issues:
8+
types:
9+
- opened
10+
11+
jobs:
12+
add-to-project:
13+
name: Add issue to project
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/create-github-app-token@v2
17+
id: app-token
18+
with:
19+
app-id: ${{ secrets.ADD_ISSUE_APP_ID }}
20+
private-key: ${{ secrets.ADD_ISSUE_PRIVATE_KEY }}
21+
owner: ${{ github.repository_owner }}
22+
- uses: actions/add-to-project@v1.0.2
23+
with:
24+
project-url: https://github.com/orgs/neuvector/projects/15
25+
github-token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)