chore: trigger action on file update only

This commit is contained in:
Tony
2022-08-17 15:56:36 +00:00
parent 9a9bdd14f1
commit 5aff0dc0a1
+5 -2
View File
@@ -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