diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml new file mode 100644 index 00000000000000..4231b03870d6e3 --- /dev/null +++ b/.github/workflows/project-updater.yml @@ -0,0 +1,23 @@ +name: Update GH projects + +on: + issues: + types: + - opened + - labeled + pull_request: + types: + - opened + - labeled + +jobs: + add-to-project: + name: Add to the Release and Deferred Blocker project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.1.0 + with: + project-url: https://github.com/orgs/python/projects/2 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: release-blocker, deferred-blocker + label-operator: OR