We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a00847 commit 4f893b5Copy full SHA for 4f893b5
.github/workflows/shellcheck.yml
@@ -4,20 +4,23 @@ on:
4
- push
5
- pull_request
6
7
+permissions:
8
+ contents: read
9
+
10
jobs:
11
sh-checker:
12
name: Code Analysis
13
runs-on: ubuntu-latest
-
14
15
steps:
- - name: Checkout code
- uses: actions/checkout@v4
16
- - name: Run the sh-checker
17
- uses: luizm/action-sh-checker@master
18
- env:
19
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
20
- SHELLCHECK_OPTS: -S warning
21
- SHFMT_OPTS: -s -i 4
22
- with:
23
- sh_checker_comment: true
+ - name: Checkout code
+ uses: actions/checkout@v4
+ - name: Run the sh-checker
+ uses: luizm/action-sh-checker@master
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ SHELLCHECK_OPTS: -S warning
24
+ SHFMT_OPTS: -s -i 4
25
+ with:
26
+ sh_checker_comment: true
0 commit comments