Skip to content

Commit

Permalink
Add a workflow to add issues/PRs to projects. (#94447)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
ezio-melotti and CAM-Gerlach authored Jul 1, 2022
1 parent d6acdc1 commit 5f2c91a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/project-updater.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5f2c91a

Please sign in to comment.