mirror of
https://github.com/emilk/egui.git
synced 2026-06-26 22:53:14 -04:00
Prevent snapshot update workflow to run on main (#7842)
Turns out if you don't give the gh workflow dispatch a ref it runs it on main, oops
This commit is contained in:
@@ -14,6 +14,7 @@ jobs:
|
||||
update-snapshots:
|
||||
name: Update snapshots from artifact
|
||||
runs-on: ubuntu-latest
|
||||
if: github.ref_name != 'main' # We never want to update snapshots directly on main
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
|
||||
Reference in New Issue
Block a user