We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f32fd25 commit 6de1c71Copy full SHA for 6de1c71
1 file changed
.github/workflows/update-screenshots.yml
@@ -15,7 +15,7 @@ env:
15
16
jobs:
17
update-screenshots:
18
- if: ${{ github.event.label.name == 'Update Screenshots' }}
+ if: ${{ github.event.label.name == 'Update Screenshots' || github.event_name == 'workflow_dispatch' }}
19
runs-on: ubuntu-latest
20
21
permissions:
@@ -36,6 +36,7 @@ jobs:
36
node-version: 25
37
check-latest: true
38
- name: Remove label
39
+ if: github.event_name == 'pull_request'
40
run: gh pr edit --remove-label 'Update Screenshots'
41
env:
42
GH_TOKEN: ${{ github.token }}
0 commit comments