diff --git a/.github/workflows/add-prs-to-project.yml b/.github/workflows/add-prs-to-project.yml new file mode 100644 index 00000000000..8b563bbd18b --- /dev/null +++ b/.github/workflows/add-prs-to-project.yml @@ -0,0 +1,18 @@ +name: Add new pull requests to a github project + +on: + pull_request: + types: + - opened + - ready_for_review + +permissions: {} + +jobs: + addprtoproject: + # Only run on the silverstripe account + if: github.repository_owner == 'silverstripe' + runs-on: ubuntu-latest + steps: + - name: Add PR to github project + uses: silverstripe/add-pr-to-project@v1