Skip to content

Commit 1218425

Browse files
committed
run workflow on lael
1 parent 1d01ddb commit 1218425

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/update-screenshots.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: Update Visual Regression Screenshots
22

33
on:
4-
workflow_dispatch: # manual trigger only
4+
pull_request:
5+
types: [labeled]
56

67
env:
78
AUTHOR_NAME: 'github-actions[bot]'
@@ -13,6 +14,7 @@ env:
1314
1415
jobs:
1516
update-screenshots:
17+
if: ${{ github.event.label.name == 'Update Screenshots' }}
1618
runs-on: ubuntu-latest
1719

1820
# don't run on main

0 commit comments

Comments
 (0)