Skip to content

Commit 1dda0e0

Browse files
authored
Merge pull request #201 from fluent/add-to-project
GitHub: add "add-to-project.yml" workflow
2 parents 55fcf61 + e41e969 commit 1dda0e0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Add bugs to fluent project
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+
- name: Generate token
14+
id: generate_token
15+
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v3.0.0
16+
with:
17+
app-id: ${{ secrets.PROJECT_APP_ID }}
18+
private-key: ${{ secrets.PROJECT_APP_PRIVATE_KEY }}
19+
owner: fluent
20+
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2
21+
with:
22+
project-url: https://github.com/orgs/fluent/projects/4
23+
github-token: ${{ steps.generate_token.outputs.token }}
24+
labeled: waiting-for-triage

0 commit comments

Comments
 (0)