Replace workflow with project automations (#136831)

Remove unnecessary workflow
This commit is contained in:
Stan Ulbrych 2025-10-04 06:09:37 +01:00 committed by GitHub
parent 18d4e2ecd4
commit 37d16f7f62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,31 +0,0 @@
name: Update GH projects
on:
issues:
types:
- opened
- labeled
permissions:
contents: read
jobs:
add-to-project:
name: Add issues to projects
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
include:
# if an issue has any of these labels, it will be added
# to the corresponding project
- { project: 2, label: "release-blocker, deferred-blocker" }
- { project: 32, label: sprint }
steps:
- uses: actions/add-to-project@v1.0.0
with:
project-url: https://github.com/orgs/python/projects/${{ matrix.project }}
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
labeled: ${{ matrix.label }}