Update GH actions security

This commit is contained in:
Dan Harrin
2026-05-14 09:31:06 +01:00
parent b3262c4ff5
commit 6b3e05614b
8 changed files with 155 additions and 83 deletions

28
.github/workflows/zizmor.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: zizmor
on:
push:
paths:
- '.github/workflows/**'
- '.github/dependabot.yml'
pull_request:
paths:
- '.github/workflows/**'
- '.github/dependabot.yml'
permissions:
contents: read
jobs:
zizmor:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
with:
advanced-security: false