Skip to content

Commit 466156f

Browse files
Merge pull request #573 from creative-commoners/pulls/6.3/module-standardiser-1743719395
MNT Run module-standardiser
2 parents 2db2916 + feee2a9 commit 466156f

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 }}

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ on:
88
jobs:
99
ci:
1010
name: CI
11+
# Do not run if this is a pull-request from same repo i.e. not a fork repo
12+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
1113
uses: silverstripe/gha-ci/.github/workflows/ci.yml@v1

0 commit comments

Comments
 (0)