Skip to content

Commit c39b752

Browse files
jamackulzaoral
authored andcommitted
Add differential-shellcheck GitHub action
It performs differential ShellCheck scans and report results directly in pull request.
1 parent 4b206d6 commit c39b752

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
---
2+
3+
name: Differential ShellCheck
4+
on:
5+
pull_request:
6+
branches: [ main ]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
lint:
13+
runs-on: ubuntu-latest
14+
15+
permissions:
16+
security-events: write
17+
pull-requests: write
18+
19+
steps:
20+
- name: Repository checkout
21+
uses: actions/checkout@v3
22+
with:
23+
fetch-depth: 0
24+
25+
- name: Differential ShellCheck
26+
uses: redhat-plumbers-in-action/differential-shellcheck@v2
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)