Skip to content

Commit

Permalink
Merge pull request #407 from KisaragiEffective/ci/hardening-workflow-…
Browse files Browse the repository at this point in the history
…permissions
  • Loading branch information
KisaragiEffective authored May 30, 2024
2 parents efb11c2 + af537af commit 26bdd1b
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/actionlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ on:
paths:
- '.github/workflows/**'

permissions:
contents: read

jobs:
actionlint:
name: actionlint with reviewdog
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cargo-deny.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
- '.github/workflows/cargo-deny.yml'
- 'Cargo.lock'

permissions:
contents: read

jobs:
cargo-deny:
name: check
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rust-wasm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ env:
CARGO_TERM_COLOR: always
CI_RUST_CACHE_VERSION: v0

permissions:
contents: read

jobs:
build:
strategy:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ env:
CARGO_TERM_COLOR: always
CI_RUST_CACHE_VERSION: v1

permissions:
contents: read

jobs:
build:
strategy:
Expand Down

0 comments on commit 26bdd1b

Please sign in to comment.