laminas/automatic-releases

refusing to allow a GitHub App to create or update workflow `.github/workflows/continuous-integration.yml` without `workflows` permission

Closed this issue · 1 comments

Bug Report

Q A
Version(s) all (but only troubleshootable on 1.11.1 or lower)

Summary

laminas:automatic-releases:release fails

Current behavior

When attempting to push the tag, the push is rejected with the message in the title.

See https://github.com/doctrine/orm/runs/3782647862?check_suite_focus=true

How to reproduce

Not quite sure how to reproduce: it did not happen on branch 2.9.x

Expected behavior

No error

Nevermind, I figured it out thanks to the README: we should not have unconstrained workflows, we should instead have them for branches only, and use a pattern to make sure a new workflow is not created for tags.