diff --git a/.github/workflows/update-snapshots.yml b/.github/workflows/update-snapshots.yml index 4a644bdf9..1fef823a3 100644 --- a/.github/workflows/update-snapshots.yml +++ b/.github/workflows/update-snapshots.yml @@ -15,7 +15,7 @@ permissions: jobs: update-snapshots: - if: ${{ github.event.issue.pull_request && (contains(github.event.comment.body, 'please update playwright snapshots') || contains(github.event.comment.body, 'please update snapshots')) }} + if: ${{ github.event.inputs || (github.event.issue.pull_request && contains(github.event.comment.body, 'please update playwright snapshots')) }} runs-on: ubuntu-latest steps: