Compare commits

...

8 Commits

Author SHA1 Message Date
Luc Perkins a1bf9636ce Revert "Provide more granular cooldown config"
This reverts commit 7f894c922f.
2026-05-12 10:29:45 -05:00
Luc Perkins 7f894c922f Provide more granular cooldown config 2026-05-12 10:29:10 -05:00
Luc Perkins f2673b5c3f Small nit 2026-05-12 10:12:57 -05:00
Luc Perkins 3c9c5142fb Merge remote-tracking branch 'origin/main' into actions-pinning 2026-05-12 09:43:50 -05:00
Luc Perkins 30a0b983c2 Apply cooldown to Actions updates 2026-05-11 16:04:53 -05:00
Luc Perkins 07a01e6e2f Update zizmor Action 2026-05-11 16:00:33 -05:00
Luc Perkins 159fbbdd2d Add Dependabot updates for Actions 2026-05-11 15:59:59 -05:00
Luc Perkins a338730998 Add zizmor support 2026-05-11 15:56:31 -05:00
4 changed files with 66 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
cooldown:
default-days: 7
groups:
actions:
patterns: ["*"]
ignore:
- dependency-name: DeterminateSystems/*
commit-message:
prefix: ci
+20 -4
View File
@@ -9,6 +9,8 @@ on:
jobs:
tests:
runs-on: ubuntu-latest
permissions:
contents: read
needs:
- check-dist-up-to-date
- install-nix
@@ -25,8 +27,12 @@ jobs:
check-dist-up-to-date:
name: Check the dist/ folder is up to date
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/flakehub-cache-action@main
- name: npm install
@@ -63,7 +69,9 @@ jobs:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install Nix
uses: ./
with:
@@ -145,6 +153,8 @@ jobs:
install-with-non-default-source-inputs:
name: Install Nix using non-default source-${{ matrix.inputs.key }}
runs-on: ubuntu-latest
permissions:
contents: read
strategy:
matrix:
inputs:
@@ -154,7 +164,9 @@ jobs:
nix-version: "2.31.2" # 3.11.3 is based on 2.31.2
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install with alternative source-${{ matrix.inputs.key }}
uses: ./
with:
@@ -166,8 +178,12 @@ jobs:
install-no-id-token:
name: Install Nix without an ID token
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- uses: ./
with:
_internal-strict-mode: true
+25
View File
@@ -0,0 +1,25 @@
name: zizmor
on:
push:
branches:
- main
pull_request:
jobs:
zizmor:
runs-on: ubuntu-latest
permissions:
security-events: write
contents: read
actions: read
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Run zizmor
uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
with:
config: .github/zizmor.yml
+5
View File
@@ -0,0 +1,5 @@
rules:
unpinned-uses:
config:
policies:
DeterminateSystems/*: ref-pin