Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 45fd368

Browse filesBrowse files
ezio-melottihugovk
andauthored
Automatically update more GitHub projects. (#94921)
* Automatically update the `asyncio` GitHub project. * Use a matrix to add issues to projects. * Remove trailing whitespace. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
1 parent 0ed7788 commit 45fd368
Copy full SHA for 45fd368

File tree

Expand file treeCollapse file tree

1 file changed

+12
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+12
-4
lines changed

‎.github/workflows/project-updater.yml

Copy file name to clipboardExpand all lines: .github/workflows/project-updater.yml
+12-4Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,20 @@ on:
88

99
jobs:
1010
add-to-project:
11-
name: Add to the Release and Deferred Blocker project
11+
name: Add issues to projects
1212
runs-on: ubuntu-latest
13+
strategy:
14+
matrix:
15+
include:
16+
# if an issue has any of these labels, it will be added
17+
# to the corresponding project
18+
- { project: 2, label: "release-blocker, deferred-blocker" }
19+
- { project: 3, label: expert-subinterpreters }
20+
- { project: 29, label: expert-asyncio }
21+
1322
steps:
1423
- uses: actions/add-to-project@v0.1.0
1524
with:
16-
project-url: https://github.com/orgs/python/projects/2
25+
project-url: https://github.com/orgs/python/projects/${{ matrix.project }}
1726
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
18-
labeled: release-blocker, deferred-blocker
19-
label-operator: OR
27+
labeled: ${{ matrix.label }}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.