"Cannot run interactive auth in CI" when creating branch
Hi everyone.
I've been lately experiencing some strange behavior with my Github Actions CI/CD pipelines while creating a branch with
neondatabase/create-branch-action@v4
Everything is working fine for normal PRs, but when dependabot creates a PR, the pipeline stage fails with this output:
What's going on here and how can I fix this?
Thanks in advance!3 Replies
correct-apricot•2y ago
My guess is that this is a permission issue. Check GitHub
Workflow permissions under the repository settings.
The idea is that if someone (or a bot) opens a PR against your repository, they can't just run jobs that access secrets.correct-apricot•2y ago
This might be helpful.