mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Merge branch '5' into 6
This commit is contained in:
commit
ca5e617e5c
22
.github/workflows/add-prs-to-project.yml
vendored
Normal file
22
.github/workflows/add-prs-to-project.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: Add new PRs to github project
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request_target:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- ready_for_review
|
||||||
|
|
||||||
|
permissions: {}
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
addprtoproject:
|
||||||
|
name: Add PR to GitHub Project
|
||||||
|
# Only run on the silverstripe account
|
||||||
|
if: github.repository_owner == 'silverstripe'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Add PR to github project
|
||||||
|
uses: silverstripe/gha-add-pr-to-project@v1
|
||||||
|
with:
|
||||||
|
app_id: ${{ vars.PROJECT_PERMISSIONS_APP_ID }}
|
||||||
|
private_key: ${{ secrets.PROJECT_PERMISSIONS_APP_PRIVATE_KEY }}
|
Loading…
Reference in New Issue
Block a user