-
Notifications
You must be signed in to change notification settings - Fork 638
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
ci: fix dependabot PR approval #10666
Conversation
The gh cli requires a repo to function so we need to re-add the checkout step again.
I removed this in #10616, my bad! |
bors r+ |
Build succeeded: |
Git push to origin failed for stable/8.0 with exitcode 1 |
Git push to origin failed for stable/8.1 with exitcode 1 |
/backport |
Git push to origin failed for stable/8.0 with exitcode 1 |
Git push to origin failed for stable/8.1 with exitcode 1 |
10670: Use PAT as checkout token in backport-action workflow r=korthout a=korthout ## Description <!-- Please explain the changes you made here. --> In order to allow the backport-action to backport accepted changes to workflows, we need to provide the `workflow` permission to the token used in the git checkout. The PAT used as `github_token` has this permission. By using the same PAT as the github_token, we also make sure that the git commits are no longer produced by `github-action` but by `backport-action` itself. For more details, see: https://github.com/orgs/community/discussions/27072#discussioncomment-3254515 ## Related issues <!-- Which issues are closed by this PR or are related --> relates to #10666 Co-authored-by: Nico Korthout <korthout@users.noreply.github.com>
10670: Use PAT as checkout token in backport-action workflow r=korthout a=korthout ## Description <!-- Please explain the changes you made here. --> In order to allow the backport-action to backport accepted changes to workflows, we need to provide the `workflow` permission to the token used in the git checkout. The PAT used as `github_token` has this permission. By using the same PAT as the github_token, we also make sure that the git commits are no longer produced by `github-action` but by `backport-action` itself. For more details, see: https://github.com/orgs/community/discussions/27072#discussioncomment-3254515 ## Related issues <!-- Which issues are closed by this PR or are related --> relates to #10666 Co-authored-by: Nico Korthout <korthout@users.noreply.github.com>
/backport |
Git push to origin failed for stable/8.0 with exitcode 128 |
Git push to origin failed for stable/8.1 with exitcode 128 |
/backport |
Successfully created backport PR #10786 for |
Successfully created backport PR #10787 for |
The gh cli requires a repo to function so we need to re-add the checkout step again.