We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa7c966 commit 6afae92Copy full SHA for 6afae92
.github/workflows/add-prs-to-project.yml
@@ -0,0 +1,22 @@
1
+name: Add new PRs to github project
2
+
3
+on:
4
+ pull_request_target:
5
+ types:
6
+ - opened
7
+ - ready_for_review
8
9
+permissions: {}
10
11
+jobs:
12
+ addprtoproject:
13
+ name: Add PR to GitHub Project
14
+ # Only run on the silverstripe account
15
+ if: github.repository_owner == 'silverstripe'
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - name: Add PR to github project
19
+ uses: silverstripe/gha-add-pr-to-project@v1
20
+ with:
21
+ app_id: ${{ vars.PROJECT_PERMISSIONS_APP_ID }}
22
+ private_key: ${{ secrets.PROJECT_PERMISSIONS_APP_PRIVATE_KEY }}
0 commit comments