mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
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>
This commit is contained in:
parent
d6acdc1b60
commit
5f2c91a343
1 changed files with 23 additions and 0 deletions
23
.github/workflows/project-updater.yml
vendored
Normal file
23
.github/workflows/project-updater.yml
vendored
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue