See
https://github.blog/changelog/2022-05-03-github-actions-prevent-github-actions-from-creating-and-approving-pull-requests/-
that prevention was introduced by GitHub 2 days ago.

On Thu, May 5, 2022 at 9:57 AM Richard Zowalla <r...@apache.org> wrote:

> Hi all,
>
> we automatically re-generate some files during a build of TomEE and
> used to automatically create a PR via GitHub actions. Similar
> approaches are done by other projects (such as Camel) too.
>
> This is a quite handy feature as it allows us to create and review
> related PRs and then merge the generated files into the codebase.
>
> Such PRs looked like: https://github.com/apache/tomee/pull/877
>
> However, it seems, that the behaviour has changed and the actions now
> reports
>
> > Error: GitHub Actions is not permitted to create or approve pull
> requests.
>
> See:
> https://github.com/apache/tomee/runs/6301961580?check_suite_focus=true
>
> The funny thing is, that the Commit / Push on a branch is working and
> is mirrored to the ASF Git but a PR cannot be created.
>
> This results in commits / PRs such as:
> https://github.com/apache/tomee/pull/879
>
>
> My questions are:
>
> - Did some default change?
> - Is this an intended (security) related change?
> - How can we restore the previous behaviour?
>
> According to Humbedooh via #INFRA on Slack there was no change
> conducted by INFRA.
>
> CC-ing dev@ here, so the TomEE Dev community is in the loop.
>
> Thanks and Gruß
> Richard
>
>
>

Reply via email to