Run shellcheck in CI
This commit is contained in:
parent
cbd03de6a3
commit
0b8bddb1f6
18
.gitea/workflows/shellcheck.yml
Normal file
18
.gitea/workflows/shellcheck.yml
Normal file
@ -0,0 +1,18 @@
|
||||
on:
|
||||
workflow_call:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
name: Check scripts
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout sources
|
||||
uses: https://gitea.com/actions/checkout@v4
|
||||
- name: Run shellcheck
|
||||
run: shellcheck ./container/*.sh
|
Reference in New Issue
Block a user