1
0
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:
CanbiZ 2025-01-01 13:13:19 +01:00 committed by GitHub
parent ac37d90403
commit a119a27b4f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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