Skip to content

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

@leofang

Description

@leofang

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    CI/CDCI/CD infrastructurewontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions