mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-05-21 10:50:10 +00:00
Agent-Logs-Url: https://github.com/nextcloud/all-in-one/sessions/c165a969-ebb0-4afd-ac19-c02c3887bc94 Co-authored-by: szaimen <42591237+szaimen@users.noreply.github.com>
30 lines
570 B
YAML
30 lines
570 B
YAML
name: Shellcheck
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- '**.sh'
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**.sh'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
shellcheck:
|
|
name: Check Shell
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
- name: Run Shellcheck
|
|
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # 2.0.0
|
|
with:
|
|
check_together: 'yes'
|
|
env:
|
|
SHELLCHECK_OPTS: --shell bash
|