Skip to content

Commit 6460752

Browse files
committed
chore: Lint pinned SHAs in CI
Signed-off-by: ysknsid25 <kengo071225@gmail.com>
1 parent 52abde8 commit 6460752

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/pinact.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: pinact
2+
3+
on:
4+
pull_request: { branches: [main], paths: [".github/**"] }
5+
6+
permissions:
7+
contents: read
8+
9+
jobs:
10+
pinact:
11+
name: Check GitHub Actions are pinned to SHA
12+
runs-on: ubuntu-latest
13+
timeout-minutes: 5
14+
steps:
15+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
16+
with: { persist-credentials: false }
17+
- uses: suzuki-shunsuke/pinact-action@896d595f299e71d65b9d28349d6956abe144390a # v3.0.0
18+
with: { skip_push: "true", fix: "false" }
19+
env:
20+
GITHUB_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)