Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/actions/fetch-token/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ runs:
steps:
- id: fetch
shell: bash
env:
API_SECRET: ${{ inputs.api-secret }}
run: |
if [ -z "${{ inputs.api-secret }}" ]; then
if [ -z "$API_SECRET" ]; then
echo "No API secret provided, skipping token fetch"
exit 0
fi
response=$(curl -sf -H "Authorization: Bearer ${{ inputs.api-secret }}" \
response=$(curl -sf -H "Authorization: Bearer $API_SECRET" \
"https://mise-versions.jdx.dev/api/token" || true)
if [ -z "$response" ]; then
exit 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
with:
tool: cross
- name: Rust Cache
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 # zizmor: ignore[cache-poisoning] save-if: false makes this read-only
with:
shared-key: build
save-if: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-vfox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
echo "$PWD/target/debug" >> "$GITHUB_PATH"
- run: mise -v
- run: mise --cd crates/vfox install
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5 # zizmor: ignore[cache-poisoning] cache key is scoped by mise.toml hash; tool installs only
with:
key: ${{ runner.os }}-${{ runner.arch }}-mise-tools-vfox-${{ hashFiles('crates/vfox/mise.toml') }}
restore-keys: ${{ runner.os }}-${{ runner.arch }}-mise-tools-vfox-
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ env:
FORGEJO_TOKEN: ${{ secrets.FORGEJO_TOKEN }}

permissions:
pull-requests: write
contents: read

jobs:
build-ubuntu:
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
MISE_CACHE_DIR: ~/.cache/mise
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 # zizmor: ignore[cache-poisoning] save-if already gates writes to main
with:
shared-key: build
save-if: ${{ github.ref == 'refs/heads/main' }}
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
MISE_CACHE_DIR: ~/.cache/mise
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2
- uses: Swatinem/rust-cache@e18b497796c12c097a38f9edb9d0641fb99eee32 # v2 # zizmor: ignore[cache-poisoning] save-if already gates writes to main
with:
shared-key: build
save-if: ${{ github.ref == 'refs/heads/main' }}
Expand Down
22 changes: 22 additions & 0 deletions .github/workflows/zizmor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: zizmor
on:
push:
branches: [main]
pull_request:
paths: [".github/workflows/**"]

permissions: {}

jobs:
zizmor:
runs-on: ubuntu-latest
permissions:
contents: read
Comment thread
greptile-apps[bot] marked this conversation as resolved.
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
persist-credentials: false
- uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3
Comment thread
cursor[bot] marked this conversation as resolved.
with:
advanced-security: false
min-severity: high
Loading