We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c62250 commit 44d1d6aCopy full SHA for 44d1d6a
.github/workflows/no-yarn-lock-changes.yml
@@ -24,8 +24,8 @@ jobs:
24
- name: Get file changes
25
uses: trilom/file-changes-action@ce38c8ce2459ca3c303415eec8cb0409857b4272
26
if: ${{ steps.control.outputs.should_run == 'true' }}
27
- - name: Check for yarn.lock changes
+ - name: Check for lockfile changes
28
29
run: |
30
- cat $HOME/files.json | jq -e 'any(test("yarn\\.lock$")) | not' \
31
- || (echo "Changes to yarn.lock files aren't allowed in PRs." && exit 1)
+ cat $HOME/files.json | jq -e 'any(test("yarn\\.lock$|Cargo\\.lock$")) | not' \
+ || (echo "Changes to yarn.lock/Cargo.lock files aren't allowed in PRs." && exit 1)
0 commit comments