Skip to content

CI: PRs that touch the GHA workflow files cannot be backported #365

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

Closed
leofang opened this issue Jan 8, 2025 · 1 comment
Closed

CI: PRs that touch the GHA workflow files cannot be backported #365

leofang opened this issue Jan 8, 2025 · 1 comment
Labels
CI/CD CI/CD infrastructure wontfix This will not be worked on

Comments

@leofang
Copy link
Member

leofang commented Jan 8, 2025

Git push to origin failed for 11.8.x with exitcode 1

The bot hit an error because this PR touches the workflow files in .github:

git push --set-upstream origin backport-323-to-11.8.x
To https://github.com/NVIDIA/cuda-python
! [remote rejected] backport-323-to-11.8.x -> backport-323-to-11.8.x (refusing to allow a GitHub App to create or update > workflow `.github/workflows/build-and-test.yml` without `workflows` permission)
error: failed to push some refs to 'https://github.com/NVIDIA/cuda-python'

It turns out that the default GITHUB_TOKEN does not have permission for this... so any PRs that touch the workflow files will need to be manually backported (we could instead use a scoped PAT but I am hasitant to do this) 🙁

Originally posted by @leofang in #323 (comment)

@leofang
Copy link
Member Author

leofang commented Feb 14, 2025

@m3vaz @cryos I think this is likely a "won't fix" since this involves permission issues, but want to check with you guys in case I overlook something obvious.

@leofang leofang closed this as not planned Won't fix, can't repro, duplicate, stale Feb 24, 2025
@leofang leofang added wontfix This will not be worked on and removed triage Needs the team's attention labels Feb 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI/CD CI/CD infrastructure wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant