Description
This is a meta issue about a newly added GitHub action that automatically updates projects:
- Add a workflow to add issues/PRs to projects. cpython#94447
- Remove
pull_request
trigger from the project-updater GHA. cpython#94483 - Add more jobs for other labels/projects
- Backport to 3.11/3.10
python/cpython#94447 added a first version of the workflow that updates the Release and Deferred blockers project, and:
- I tested that the issue is added to the project when:
- the
release-blocker
label is applied - the
deferred-blocker
label is applied
- the
- removing the label doesn't remove the issue from the project
- there doesn't seem to be a way to set the type automatically from the action
- it can be set manually either in the issue or in the project
- it takes about 10-15s before the issue (dis)appears in the project
- a manual refresh on the issue is needed before the project (dis)appears in the sidebar
After attempting backports in python/cpython#94477 and python/cpython#94475, the check failed because it couldn't access the secret. After some investigation it turns out that PRs created from forks can't access secrets. In addition, this action would add a check for each job in the PR (currently only one, but I'm planning to add more for the other labels/projects):
Therefore, I submitted python/cpython#94483 to remove the pull_request
trigger and only run the action for issues, solving the issue with the secret and the extra checks in PRs.
Metadata
Metadata
Assignees
Labels
Projects
Status
Status