In case someone stumbles across:

- https://issues.apache.org/jira/browse/INFRA-23226
- https://github.com/peter-evans/create-pull-request/issues/1175
- 
https://github.blog/changelog/2022-05-03-github-actions-prevent-github-actions-from-creating-and-approving-pull-requests/

Gruß
Richard


Am Donnerstag, dem 05.05.2022 um 09:57 +0200 schrieb Richard Zowalla:
> 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
> 
> 

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to