Skip to content

Commit d386308

Browse files
authored
Zizmor (#105)
1 parent f40727b commit d386308

3 files changed

Lines changed: 52 additions & 21 deletions

File tree

.github/workflows/pint-link.yml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/pint-lint.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Lint PHP code style issues
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- '**.php'
7+
8+
permissions: { }
9+
10+
concurrency:
11+
group: ${{ github.workflow }}-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
lint-php-code-styling:
16+
name: Lint PHP code style issues
17+
runs-on: ubuntu-latest
18+
19+
steps:
20+
- name: Checkout code
21+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
22+
with:
23+
persist-credentials: false
24+
25+
- name: Check PHP code style issues
26+
uses: aglipanci/laravel-pint-action@36de00d5f5a8a4e12d443e01671daa12a18f4c79 # 2.6
27+
with:
28+
testMode: true
29+
verboseMode: true
30+
pintVersion: 1.16.0

.github/workflows/zizmor.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: GitHub Actions Security Analysis
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- '*.x'
8+
paths:
9+
- '.github/**.yml'
10+
pull_request:
11+
paths:
12+
- '.github/**.yml'
13+
14+
permissions: {}
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
jobs:
21+
zizmor:
22+
uses: statamic/.github/.github/workflows/zizmor.yml@7e941c239074d66da6cad3322bec3b1005c80cf7

0 commit comments

Comments
 (0)