summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2022-07-01 08:33:10 (GMT)
committerGitHub <noreply@github.com>2022-07-01 08:33:10 (GMT)
commit5f2c91a343fb20f8c2fc78cbb3e68234bcba40a8 (patch)
tree99a0a2f2566879787d1fbe48f68e635ad7435c1b
parentd6acdc1b60de4f6fd05c6654a9661b7edddf0448 (diff)
downloadcpython-5f2c91a343fb20f8c2fc78cbb3e68234bcba40a8.zip
cpython-5f2c91a343fb20f8c2fc78cbb3e68234bcba40a8.tar.gz
cpython-5f2c91a343fb20f8c2fc78cbb3e68234bcba40a8.tar.bz2
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 <CAM.Gerlach@Gerlach.CAM> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>
-rw-r--r--.github/workflows/project-updater.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml
new file mode 100644
index 0000000..4231b03
--- /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