From 5aff0dc0a1586a4b6c1996d4cee787321f38a7c8 Mon Sep 17 00:00:00 2001 From: Tony Date: Wed, 17 Aug 2022 15:56:36 +0000 Subject: [PATCH] chore: trigger action on file update only --- .github/workflows/yarn-lock-changes.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/yarn-lock-changes.yml b/.github/workflows/yarn-lock-changes.yml index 61eaf42be2..b948f11f7e 100644 --- a/.github/workflows/yarn-lock-changes.yml +++ b/.github/workflows/yarn-lock-changes.yml @@ -1,12 +1,15 @@ name: Yarn Lock Changes -on: [pull_request] +on: + pull_request: + paths: + - '.github/workflows/yarn-lock-changes.yml' + - 'yarn.lock' jobs: yarn_lock_changes: runs-on: ubuntu-latest # Permission overwrite is required for Dependabot PRs, see https://github.com/marketplace/actions/yarn-lock-changes#-common-issues. permissions: - contents: write pull-requests: write steps: - name: Checkout