1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-26 14:49:06 -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:
Lucas Meurer
2026-01-13 11:39:53 +01:00
committed by GitHub
parent 73b7b9e225
commit b3ffbca2ab
2 changed files with 1 additions and 3 deletions

View File

@@ -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