Skip to content

Commit 31a4c2d

Browse files
authored
Merge pull request #284 from jamacku/add-linter
ci(lint): add shell linter - Differential ShellCheck
2 parents 89ac8a4 + d222f06 commit 31a4c2d

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
3+
version: 2
4+
5+
updates:
6+
- package-ecosystem: github-actions
7+
directory: /
8+
schedule:
9+
interval: monthly
10+
labels:
11+
- 'type: dependencies'
12+
- 'github-actions'
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Differential ShellCheck
2+
on:
3+
pull_request:
4+
branches: [master]
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
security-events: write
15+
pull-requests: write
16+
17+
steps:
18+
- name: Repository checkout
19+
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
20+
with:
21+
fetch-depth: 0
22+
23+
- name: Differential ShellCheck
24+
uses: redhat-plumbers-in-action/differential-shellcheck@a14889568f6210b361eb29e16f3b07f512fca846
25+
with:
26+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)