This commit is contained in:
parent
7c892c9dc2
commit
2f6ab18812
|
@ -1,29 +1,18 @@
|
||||||
--- # reviewdog
|
name: "Lint Shellcheck 🐚"
|
||||||
name: 'Lint Shellcheck 🐚'
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
pull_request:
|
||||||
|
branches: '**'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
shellcheck:
|
shellcheck:
|
||||||
permissions:
|
name: Shellcheck
|
||||||
checks: write
|
|
||||||
contents: read
|
|
||||||
pull-requests: write
|
|
||||||
name: 'Run shellcheck with reviewdog'
|
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: haya14busa/action-cond@v1
|
- name: Run ShellCheck
|
||||||
id: reporter
|
uses: ludeeus/action-shellcheck@master
|
||||||
with:
|
with:
|
||||||
cond: ${{ github.event_name == 'pull_request' }}
|
format: gcc
|
||||||
- uses: reviewdog/action-shellcheck@v1
|
severity: error
|
||||||
with:
|
|
||||||
reporter: ${{ steps.reporter.outputs.value }}
|
|
||||||
level: error
|
|
||||||
github_token: ${{ secrets.github_token }}
|
|
||||||
pattern: |
|
|
||||||
quickget
|
|
||||||
quickemu
|
|
||||||
|
|
Loading…
Reference in New Issue