mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-14 11:19:42 +00:00
[GitHub Actions] Introduce Shellcheck to check bash code (#1018)
This commit is contained in:
parent
1b57be94fd
commit
ff3d2026a5
1 changed files with 25 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue