-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add a GitHub action to automatically update projects #467
Comments
Would using the pull_request_target trigger work instead? |
Even if it does, I'm not sure we want to add PRs to the projects anymore. |
Projects now support a workflow to automatically add issues/PRs to projects, even though it seems to have some limitations (e.g. can't set custom fields based on a label, and also limitations based on the account type). See: |
Also, Triagers can now add issues/PRs to projects directly due to the changes in #460 , as far as I'm aware, so anyone who can add a label can also add directly to the project. |
This is a meta issue about a newly added GitHub action that automatically updates projects:
pull_request
trigger from the project-updater GHA. cpython#94483sprint
issues to the Sprint 2022 project. cpython#97788python/cpython#94447 added a first version of the workflow that updates the Release and Deferred blockers project, and:
release-blocker
label is applieddeferred-blocker
label is appliedAfter 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):
Click to see screenshot of the job in the PR checks list
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.The text was updated successfully, but these errors were encountered: