|
|
|
|
|
by teachtwolearn
1902 days ago
|
|
But when a PR is submitted that modifies an Actions workflow, shouldn't GitHub run the old unmodified workflow until that PR is accepted? IIRC, they already treat the .github folder as a special case; you can't push modifications to workflow files with a personal access token. So why not ensure that an action or workflow will only run if it is checked into the base branch? That wouldn't stop PRs from modifying scripts that the action runs, but the current behavior seems a bit counter-intuitive. |
|
The threat models are probably more like 1. "make sure only the right people run actions" and separately, 2. "make sure authorized events/actions only use the expected capabilities." Both largely fail today.