Skip to content

Commit 29d9db2

Browse files
committed
ci: enable static analysis and shellcheck workflows
1 parent 5260bad commit 29d9db2

2 files changed

Lines changed: 38 additions & 0 deletions

File tree

.github/workflows/shellcheck.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Differential ShellCheck
2+
3+
on:
4+
pull_request:
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
shellcheck:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Repository checkout
15+
uses: actions/checkout@v6
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Differential ShellCheck
20+
uses: redhat-plumbers-in-action/differential-shellcheck@v5
21+
with:
22+
severity: warning
23+
token: ${{ secrets.GITHUB_TOKEN }}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: static analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- '*.x'
8+
pull_request:
9+
10+
permissions:
11+
contents: read
12+
13+
jobs:
14+
tests:
15+
uses: laravel/.github/.github/workflows/static-analysis.yml@main

0 commit comments

Comments
 (0)