mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-25 18:16:17 +00:00
[GitHub Actions] Introduce Shellcheck to check bash code (#1018)
This commit is contained in:
parent
1b57be94fd
commit
ff3d2026a5
25
.github/workflows/shellcheck.yml
vendored
Normal file
25
.github/workflows/shellcheck.yml
vendored
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
name: Shellcheck
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
|
schedule:
|
||||||
|
- cron: "5 1 * * *"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
shellcheck:
|
||||||
|
name: Shellcheck
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Run ShellCheck
|
||||||
|
uses: ludeeus/action-shellcheck@master
|
||||||
|
with:
|
||||||
|
ignore_paths: >-
|
||||||
|
frontend
|
||||||
|
json
|
Loading…
Reference in New Issue
Block a user