Fix syncbot workflow to run on pull_request events#422
Fix syncbot workflow to run on pull_request events#422holly-cummins merged 1 commit intoquarkusio:mainfrom
Conversation
|
@edeandrea this should save us a lot of time |
|
I'd like @holly-cummins to take a look at this since she was the one working on the cross-branch automation. Whats the purpose of |
|
Ops. Done |
|
I've been thinking about how we only run trusted workflows. I can think of a few options:
|
I know we wanted more of an "opt out" vs "opt in" approach, but maybe we go back to the labelling thing? Someone with correct permissions to assign labels (triage?) has to label the PR to be "synced", and that is what gives syncbot the permission to do so? That way someone with the permissions has reviewed and said "this PR is ok"? |
I had a conversation with Claude, and it also suggested labelling, but I think we can do it in a way that's less opt-in. #423 adjusts the normal workflow to use labels + repo membership to control what workflows run. So I think with that, we should be good on syncbot. And of course the security concern I've identified was always there, I just didn't notice it until I was staring at @diegolovison's changes. |
|
Interestingly, the sync workflow is now running on this PR, even without @diegolovison's changes being merged. The failure is Will try to fix. |
a7d1ab3 to
4dae915
Compare
|
The CI for this is now in a bit of a mess, because I've rebased several times and it's having conflicts while cherry-picking. That situation is something that should be handled, but I don't think it needs to be handled before merging this PR. I think it's an issue that will mostly affect PRs that stay open for a while and get rebased several times. |
Fix #415