ENH Update code to reflect changes in silverstripe/cms #28
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |