Skip to content

Commit 8bc8e23

Browse files
authored
chore: add issue to project automation (#155)
1 parent afa421d commit 8bc8e23

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/add-to-project.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Add new issue to project
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
track_pr:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Generate token
11+
id: generate_token
12+
uses: tibdex/[email protected]
13+
with:
14+
app_id: ${{ secrets.TOKENS_APP_ID }}
15+
private_key: ${{ secrets.TOKENS_PRIVATE_KEY }}
16+
- name: Add issue to Project
17+
uses: actions/[email protected]
18+
with:
19+
project-url: https://github.com/orgs/netlify/projects/199
20+
github-token: ${{ steps.generate_token.outputs.token }}

0 commit comments

Comments
 (0)