Skip to content

Commit

Permalink
chore: zizmor compat
Browse files Browse the repository at this point in the history
  • Loading branch information
KisaragiEffective committed Jan 11, 2025
1 parent 02fa2a8 commit 960e3e6
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 13 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: actionlint
uses: reviewdog/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ jobs:
cargo install cargo-deny
- name: checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: check
run: |
cargo deny check
3 changes: 2 additions & 1 deletion .github/workflows/rust-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ jobs:
- os: windows-2022
wasmpack_target_triple: x86_64-pc-windows-msvc
wasmpack_name: wasm-pack.exe
# FIXME: windows does not recognize /usr/local/bin, causing build to be failed
fail-fast: false

runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Rust Cache
uses: Swatinem/[email protected]
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ jobs:
run: |
echo '${{ toJSON(matrix) }}'
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
with:
persist-credentials: false
- name: Install compiler ${{ matrix.rustc_channel }} ( ${{ matrix.rustc_version }} )
run: |
if [[ "${{ matrix.rustc_channel }}" == nightly ]]; then
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/todo-as-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,19 @@ on:
push:
branches:
- master
permissions:
contents: read
issues: write
jobs:
build:
permissions:
contents: read
issues: write
runs-on: "ubuntu-24.04"
steps:
- uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v5"
with:
AUTO_ASSIGN: true
-
uses: "actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
with:
persist-credentials: false
-
name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v5"
with:
AUTO_ASSIGN: true
2 changes: 2 additions & 0 deletions .github/workflows/validate-renovate-custom-managers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,7 @@ jobs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: check
run: ./.github/workflows/shell_scripts/validate-renovate-custom-managers.sh
9 changes: 5 additions & 4 deletions .github/workflows/validate-renovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@ on:
- 'renovate.json'
- '.github/workflows/validate-renovate.yml'

permissions:
contents: read
pull-requests: write

jobs:
lint:
permissions:
contents: read
pull-requests: write
name: run renovate-config-validator
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- name: run lint and report
env:
URL: ${{ github.event.pull_request.html_url }}
Expand Down

0 comments on commit 960e3e6

Please sign in to comment.