Skip to content

Replace workflow with project automations #136831

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

StanFromIreland
Copy link
Member

@StanFromIreland StanFromIreland commented Jul 19, 2025

Part of: python/core-workflow#467

As discussed with Ezio before on the linked issue:

... we could go through the existing projects and enable their Auto-add to project workflows (assuming it is a suitable replacement to the current project-updater workflow) and then remove the project-updater workflow (and the github-token that it uses).

This has been tested on the sqlite3 project (and corresponding label topic-sqlite3, an example of how it is run can be found on this issue) and the Docs PRs project (there are many examples of this one!) [Link not accessible to general public].

I/Ezio can add such automation for the remaining projects, the question is whether this can be done before we remove this workflow?

It would also make sense to add it to the several other cases of a project & relevant label apart from the two covered by the existing workflow, I am happy to do this:

topic-IDLE: IDLE Project
topic-ctypes: Ctypes project
topic-asyncio: Async IO project
topic-subinterpreters: subinterpreters project
topic-multiprocessing: multiprocessing project

@StanFromIreland StanFromIreland added skip issue skip news infra CI, GitHub Actions, buildbots, Dependabot, etc. labels Jul 19, 2025
@StanFromIreland StanFromIreland changed the title Replace workflow with builtin project automations Replace workflow with project automations Jul 19, 2025
Copy link
Member

@ezio-melotti ezio-melotti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I/Ezio can add such automation for the remaining projects, the question is whether this can be done before we remove this workflow?

The removed workflow only affects 2 projects, so once the "auto-add workflow" is added to them, this PR can be merged.

Updating the other projects is easy enough, and can be done at any time (as long as the maintainers are happy without it).

Also note that there are limits on the number of auto-add workflows, even though it's not clear to me if these are per-project or cumulative. I'm also not sure if having multiple auto-add workflows rather than a single workflow (like the one being removed) uses more CI minutes and is therefore less preferable.

- 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 }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PAT should also be removed once the PR is merged.

@bedevere-app

This comment was marked as resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting merge infra CI, GitHub Actions, buildbots, Dependabot, etc. skip issue skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
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