This commit is contained in:
itdoginfo
2025-10-12 18:53:22 +03:00
parent f20e205b72
commit 44894f3257

View File

@@ -6,7 +6,7 @@ on:
- main - main
- 'rc/**' - 'rc/**'
paths: paths:
- '**.sh' - 'install.sh'
- 'podkop/files/usr/bin/**' - 'podkop/files/usr/bin/**'
- 'podkop/files/usr/lib/**' - 'podkop/files/usr/lib/**'
- '.github/workflows/shellcheck.yml' - '.github/workflows/shellcheck.yml'
@@ -15,7 +15,7 @@ on:
- main - main
- 'rc/**' - 'rc/**'
paths: paths:
- '**.sh' - 'install.sh'
- 'podkop/files/usr/bin/**' - 'podkop/files/usr/bin/**'
- 'podkop/files/usr/lib/**' - 'podkop/files/usr/lib/**'
- '.github/workflows/shellcheck.yml' - '.github/workflows/shellcheck.yml'
@@ -26,7 +26,7 @@ permissions:
jobs: jobs:
shellcheck: shellcheck:
name: Differential ShellCheck name: Differential ShellCheck
runs-on: ubuntu-latest runs-on: ubuntu-24.04
permissions: permissions:
contents: read contents: read
@@ -42,7 +42,8 @@ jobs:
uses: redhat-plumbers-in-action/differential-shellcheck@v5.5.5 uses: redhat-plumbers-in-action/differential-shellcheck@v5.5.5
with: with:
severity: error severity: error
scan-directory: | include-path: |
podkop/files/usr/bin/** podkop/files/usr/bin/podkop
podkop/files/usr/lib/** podkop/files/usr/lib/**.sh
install.sh
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}