We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f3511f commit 39b7bc7Copy full SHA for 39b7bc7
1 file changed
.github/workflows/main.yml
@@ -0,0 +1,28 @@
1
+name: Lint Pull Request
2
+on:
3
+ pull_request:
4
+ types: [opened, edited]
5
+ branches: [ main ]
6
+
7
+jobs:
8
+ shellcheck:
9
+ name: ShellCheck
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Check out repository
14
+ uses: actions/checkout@v4
15
16
+ - name: Run ShellCheck
17
+ uses: reviewdog/action-shellcheck@v1
18
+ with:
19
+ # This token is required to post comments to pull requests.
20
+ github_token: ${{ secrets.GITHUB_TOKEN }}
21
22
+ # Use 'github-pr-review' to post annotations directly on the PR.
23
+ # Use 'github-check' to report results as a check.
24
+ reporter: github-pr-review
25
26
+ # This is the minimum severity level to report.
27
+ # Options: info, warning, error
28
+ level: warning
0 commit comments