Skip to content

Commit 5f2c91a

Browse files
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 <[email protected]> Co-authored-by: CAM Gerlach <[email protected]>
1 parent d6acdc1 commit 5f2c91a

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/project-updater.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Update GH projects
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
- labeled
8+
pull_request:
9+
types:
10+
- opened
11+
- labeled
12+
13+
jobs:
14+
add-to-project:
15+
name: Add to the Release and Deferred Blocker project
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/[email protected]
19+
with:
20+
project-url: https://github.com/orgs/python/projects/2
21+
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
22+
labeled: release-blocker, deferred-blocker
23+
label-operator: OR

0 commit comments

Comments
 (0)