Skip to content
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

cff GitHub action cannot push to main branch #98

Open
peterdesmet opened this issue Jul 5, 2024 · 0 comments
Open

cff GitHub action cannot push to main branch #98

peterdesmet opened this issue Jul 5, 2024 · 0 comments

Comments

@peterdesmet
Copy link
Member

See: https://github.com/inbo/camtrapdp/actions/runs/9805985403/job/27076795427

Action ended on success, but cannot push to main branch and CITATION.cff is not updated.

[main e07bd44] Update CITATION.cff
 1 file changed, 7 insertions(+), 6 deletions(-)
remote: error: GH006: Protected branch update failed for refs/heads/main.        
No changes to commit
remote: error: Changes must be made through a pull request.        
To https://github.com/inbo/camtrapdp
 ! [remote rejected] main -> main (protected branch hook declined)
error: failed to push some refs to 'https://github.com/inbo/camtrapdp'

I think this action should run on PRs (only).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant