mirror of
https://github.com/quickemu-project/quickemu.git
synced 2024-06-02 04:55:50 +02:00
This commit is contained in:
parent
7c892c9dc2
commit
2f6ab18812
27
.github/workflows/lint-shellcheck.yml
vendored
27
.github/workflows/lint-shellcheck.yml
vendored
|
@ -1,29 +1,18 @@
|
|||
--- # reviewdog
|
||||
name: 'Lint Shellcheck 🐚'
|
||||
name: "Lint Shellcheck 🐚"
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
branches: '**'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
shellcheck:
|
||||
permissions:
|
||||
checks: write
|
||||
contents: read
|
||||
pull-requests: write
|
||||
name: 'Run shellcheck with reviewdog'
|
||||
name: Shellcheck
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: haya14busa/action-cond@v1
|
||||
id: reporter
|
||||
- name: Run ShellCheck
|
||||
uses: ludeeus/action-shellcheck@master
|
||||
with:
|
||||
cond: ${{ github.event_name == 'pull_request' }}
|
||||
- uses: reviewdog/action-shellcheck@v1
|
||||
with:
|
||||
reporter: ${{ steps.reporter.outputs.value }}
|
||||
level: error
|
||||
github_token: ${{ secrets.github_token }}
|
||||
pattern: |
|
||||
quickget
|
||||
quickemu
|
||||
format: gcc
|
||||
severity: error
|
||||
|
|
Loading…
Reference in New Issue
Block a user