mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-02-01 17:51:49 +00:00
Update shellcheck.yml
Check only PR files, because massive (useless) breaks over all scripts
This commit is contained in:
parent
ac37d90403
commit
a119a27b4f
13
.github/workflows/shellcheck.yml
vendored
13
.github/workflows/shellcheck.yml
vendored
@ -17,9 +17,12 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Get changed files
|
||||||
|
id: changes
|
||||||
|
run: |
|
||||||
|
echo "::set-output name=files::$(git diff --name-only ${{ github.event.before }} ${{ github.sha }} | grep '\.sh$')"
|
||||||
|
|
||||||
- name: Run ShellCheck
|
- name: Run ShellCheck
|
||||||
uses: ludeeus/action-shellcheck@master
|
if: steps.changes.outputs.files != ''
|
||||||
with:
|
run: |
|
||||||
ignore_paths: >-
|
echo "${{ steps.changes.outputs.files }}" | xargs shellcheck
|
||||||
frontend
|
|
||||||
json
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user