Skip to content

Commit dfe0b9f

Browse files
authored
Merge pull request #28 from heyselbi/main
auto add new issues to ODH projects
2 parents 66ff883 + 811374b commit dfe0b9f

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Auto Add Issues to Tracking boards
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
add-to-project:
8+
name: Add issue to projects
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Generate github-app token
12+
id: app-token
13+
uses: getsentry/action-github-app-token@v2
14+
with:
15+
app_id: ${{ secrets.DEVOPS_APP_ID }}
16+
private_key: ${{ secrets.DEVOPS_APP_PRIVATE_KEY }}
17+
- uses: actions/[email protected]
18+
with:
19+
project-url: https://github.com/orgs/opendatahub-io/projects/40
20+
github-token: ${{ steps.app-token.outputs.token }}
21+
- uses: actions/[email protected]
22+
with:
23+
project-url: https://github.com/orgs/opendatahub-io/projects/45
24+
github-token: ${{ steps.app-token.outputs.token }}
25+
- uses: actions/[email protected]
26+
with:
27+
project-url: https://github.com/orgs/opendatahub-io/projects/42
28+
github-token: ${{ steps.app-token.outputs.token }}

0 commit comments

Comments
 (0)