diff --git a/.github/workflows/project_add_pull_requests.yml b/.github/workflows/project_add_pull_requests.yml new file mode 100644 index 000000000..73deecff4 --- /dev/null +++ b/.github/workflows/project_add_pull_requests.yml @@ -0,0 +1,31 @@ +name: Add PRs to Rikolti MVP Project + +on: + pull_request: + types: + - opened + - reopened + - labeled + +jobs: + add-to-project: + name: Add PR to Rikolti MVP Project + runs-on: ubuntu-latest + steps: + - name: Add To GitHub projects + uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/ucldc/projects/1 + github-token: ${{ secrets.AMY_ADD_TO_PROJECT_TOKEN }} + id: add-project + - name: Update Project Fields + uses: titoportas/update-project-fields@v0.1.0 + with: + project-url: https://github.com/orgs/ucldc/projects/1 + github-token: ${{ secrets.AMY_ADD_TO_PROJECT_TOKEN }} + item-id: ${{ steps.add-project.outputs.itemId }} + field-keys: Sprint + field-values: '@current' + + +