Skip to content

Commit c586ff2

Browse files
authored
feat(paparazzi): support pr-number for workflow_dispatch (#1347)
1 parent be51bf2 commit c586ff2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/paparazzi-golden-images.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: '📸 Paparazzi Golden Images'
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
ref:
7+
description: 'PR number, branch, or url'
8+
required: false
9+
type: string
510

611
jobs:
712
paparazzi-golden-images:
@@ -11,3 +16,4 @@ jobs:
1116
- uses: ./.github/actions/paparazzi-golden-images
1217
with:
1318
github-token: ${{ secrets.PAT_SPARK || secrets.GITHUB_TOKEN }}
19+
pr-number: ${{ inputs.ref }}

0 commit comments

Comments
 (0)