From 30c7e3cfd2e0e7a5546a85025a6cdeef36dbb346 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 17 Jul 2022 06:01:00 +0200 Subject: [PATCH 1/3] Automatically update the `asyncio` GitHub project. --- .github/workflows/project-updater.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml index 716ed7841feaeb..ae6f3be104fa65 100644 --- a/.github/workflows/project-updater.yml +++ b/.github/workflows/project-updater.yml @@ -7,7 +7,7 @@ on: - labeled jobs: - add-to-project: + add-to-blockers: name: Add to the Release and Deferred Blocker project runs-on: ubuntu-latest steps: @@ -17,3 +17,13 @@ jobs: github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} labeled: release-blocker, deferred-blocker label-operator: OR + + add-to-asyncio: + name: Add to the asyncio project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.1.0 + with: + project-url: https://github.com/orgs/python/projects/29 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} + labeled: expert-asyncio From 3bf1690228d24739c5bcf80addb5f441194ec2b1 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 17 Jul 2022 10:17:59 +0200 Subject: [PATCH 2/3] Use a matrix to add issues to projects. --- .github/workflows/project-updater.yml | 30 +++++++++++++-------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml index ae6f3be104fa65..8f576df769137c 100644 --- a/.github/workflows/project-updater.yml +++ b/.github/workflows/project-updater.yml @@ -7,23 +7,21 @@ on: - labeled jobs: - add-to-blockers: - name: Add to the Release and Deferred Blocker project - runs-on: ubuntu-latest + add-to-project: + name: Add issues to projects + runs-on: ubuntu-latest + strategy: + 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: 3, label: expert-subinterpreters } + - { project: 29, label: expert-asyncio } + steps: - uses: actions/add-to-project@v0.1.0 with: - project-url: https://github.com/orgs/python/projects/2 + project-url: https://github.com/orgs/python/projects/${{ matrix.project }} github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} - labeled: release-blocker, deferred-blocker - label-operator: OR - - add-to-asyncio: - name: Add to the asyncio project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v0.1.0 - with: - project-url: https://github.com/orgs/python/projects/29 - github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} - labeled: expert-asyncio + labeled: ${{ matrix.label }} From 9e7c7dbc56971a7ba77a4a8231cd8a039c25ca23 Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sun, 17 Jul 2022 13:42:26 +0200 Subject: [PATCH 3/3] Remove trailing whitespace. Co-authored-by: Hugo van Kemenade --- .github/workflows/project-updater.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/project-updater.yml b/.github/workflows/project-updater.yml index 8f576df769137c..ea98700e7fae9c 100644 --- a/.github/workflows/project-updater.yml +++ b/.github/workflows/project-updater.yml @@ -9,7 +9,7 @@ on: jobs: add-to-project: name: Add issues to projects - runs-on: ubuntu-latest + runs-on: ubuntu-latest strategy: matrix: include: pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy