mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 13:00:58 +00:00
hmm
This commit is contained in:
parent
219509dc2d
commit
269025c30b
4
.github/workflows/no-yarn-lock-changes.yml
vendored
4
.github/workflows/no-yarn-lock-changes.yml
vendored
|
@ -22,9 +22,9 @@ jobs:
|
|||
echo "::set-output name=should_run::${{ !contains(fromJson('["admin", "write"]'), fromJson(steps.get_permissions.outputs.data).permission) }}"
|
||||
- name: Get file changes
|
||||
uses: trilom/file-changes-action@ce38c8ce2459ca3c303415eec8cb0409857b4272
|
||||
if: ${{ steps.control.outputs.should_run == "true" }}
|
||||
if: ${{ steps.control.outputs.should_run == 'true' }}
|
||||
- name: Check for yarn.lock changes
|
||||
if: ${{ steps.control.outputs.should_run == "true" }}
|
||||
if: ${{ steps.control.outputs.should_run == 'true' }}
|
||||
run: |
|
||||
cat $HOME/files.json | jq -e 'any(test("yarn\\.lock$")) | not' \
|
||||
|| (echo "Changes to yarn.lock files aren't allowed in PRs." && exit 1)
|
||||
|
|
Loading…
Reference in a new issue