From: Ezio Melotti Date: Fri, 1 Jul 2022 08:33:10 +0000 (+0200) Subject: Add a workflow to add issues/PRs to projects. (#94447) X-Git-Tag: v3.12.0a1~1054 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5f2c91a343fb20f8c2fc78cbb3e68234bcba40a8;p=thirdparty%2FPython%2Fcpython.git Add a workflow to add issues/PRs to projects. (#94447) * Add a workflow to add issues/PRs to projects. * Apply suggestions from code review Co-authored-by: CAM Gerlach Co-authored-by: CAM Gerlach --- diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml new file mode 100644 index 000000000000..4231b03870d6 --- /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