Skip to content

Commit 5fe66c6

Browse files
committed
ci: trigger snapshot update on push to this branch
1 parent d39e3af commit 5fe66c6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/update-snapshots.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ on:
77
description: 'Branch to update snapshots on'
88
required: true
99
default: 'main'
10+
# Temporary: auto-run on this branch to update snapshots
11+
push:
12+
branches:
13+
- 'ochafik/fix-e2e-flaky-tests'
14+
paths:
15+
- '.github/workflows/update-snapshots.yml'
1016

1117
permissions:
1218
contents: write
@@ -17,7 +23,7 @@ jobs:
1723
steps:
1824
- uses: actions/checkout@v4
1925
with:
20-
ref: ${{ github.event.inputs.branch }}
26+
ref: ${{ github.event.inputs.branch || github.ref }}
2127
token: ${{ secrets.GITHUB_TOKEN }}
2228

2329
- uses: oven-sh/setup-bun@v2

0 commit comments

Comments
 (0)