ci: fix PR not triggering workflows by switching back to pytestbot access token#10346
Merged
bluetech merged 1 commit intopytest-dev:mainfrom Oct 7, 2022
Merged
ci: fix PR not triggering workflows by switching back to pytestbot access token#10346bluetech merged 1 commit intopytest-dev:mainfrom
bluetech merged 1 commit intopytest-dev:mainfrom
Conversation
…cess token The builtin actions token is not allowed to trigger further workflows. So when we create a PR using that token, the PR checks don't run, and a maintainer must close & open the PR to make them run. This is quite annoying, so switch back to the "machine user" approach. Fixes pytest-dev#9554.
Member
Author
|
I remember the CHATOPS token has the required permissions, but not 100% sure, so once this is merged I'll make sure to test that it actually works (must be merged to the main branch before I can test it). |
nicoddemus
approved these changes
Oct 7, 2022
Member
|
Thanks @bluetech for tackling this! |
Member
Author
|
Marking this for backport just to test it out, but not going to actually backport it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The builtin actions token is not allowed to trigger further workflows. So when we create a PR using that token, the PR checks don't run, and a maintainer must close & open the PR to make them run. This is quite annoying, so switch back to the "machine user" approach.
Fixes #9554.