From 7fd13cf604575b246c8135887a598956133aaca2 Mon Sep 17 00:00:00 2001 From: Matt Robenolt Date: Mon, 1 Jun 2026 12:54:53 -0700 Subject: [PATCH] ci: add GitHub Actions security checks --- .github/workflows/actions-security.yml | 35 ++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/actions-security.yml diff --git a/.github/workflows/actions-security.yml b/.github/workflows/actions-security.yml new file mode 100644 index 0000000..148d039 --- /dev/null +++ b/.github/workflows/actions-security.yml @@ -0,0 +1,35 @@ +name: GitHub Actions Security + +on: + push: + branches: [main] + pull_request: + branches: [main] + +permissions: {} + +jobs: + zizmor: + runs-on: ubuntu-latest + permissions: + security-events: write + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - uses: zizmorcore/zizmor-action@5f14fd08f7cf1cb1609c1e344975f152c7ee938d # v0.5.6 + with: + version: v1.25.2 + + pinact: + runs-on: ubuntu-latest + permissions: + contents: read + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false + - uses: suzuki-shunsuke/pinact-action@cf51507d80d4d6522a07348e3d58790290eaf0b6 # v2.0.0 + with: + fix: 'false' + verify: 'true'