Skip to content

Commit 30cdb85

Browse files
committed
ci: add Project auto-add caller
1 parent 24544a9 commit 30cdb85

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,25 @@
1-
name: 'Add to Project'
1+
'name': 'Add to Project'
22

33
'on':
4-
issues:
5-
types:
4+
'issues':
5+
'types':
66
- 'opened'
77
- 'reopened'
88
- 'transferred'
9-
pull_request_target:
10-
types:
9+
'pull_request_target':
10+
'types':
1111
- 'opened'
1212
- 'reopened'
13+
- 'ready_for_review'
1314

14-
permissions:
15-
contents: 'read'
15+
'permissions':
16+
'contents': 'read'
1617

17-
jobs:
18-
add-to-project:
19-
uses: 'JorisJonkers-dev/github-workflows/.github/workflows/add-to-project.yml@v0.8.0'
20-
secrets: 'inherit'
18+
'jobs':
19+
'add-to-project':
20+
'uses': 'JorisJonkers-dev/github-workflows/.github/workflows/add-to-project.yml@main'
21+
'with':
22+
'project-url': 'https://github.com/orgs/JorisJonkers-dev/projects/2'
23+
'secrets':
24+
'PROJECT_AUTOMATION_APP_ID': '${{ secrets.RELEASE_APP_ID }}'
25+
'PROJECT_AUTOMATION_APP_PRIVATE_KEY': '${{ secrets.RELEASE_APP_PRIVATE_KEY }}'

0 commit comments

Comments
 (0)