From 4c54b8c9eccd75cfd48ec838381aec84abd473e5 Mon Sep 17 00:00:00 2001 From: Andrii Ieroshenko Date: Fri, 25 Aug 2023 13:59:54 -0700 Subject: [PATCH] account for input PR in if clause --- .github/workflows/update-snapshots.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-snapshots.yml b/.github/workflows/update-snapshots.yml index aaf2679bc..fdf792aba 100644 --- a/.github/workflows/update-snapshots.yml +++ b/.github/workflows/update-snapshots.yml @@ -16,7 +16,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: