Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use minimal permissions for CI jobs #885

Merged
merged 1 commit into from
Apr 3, 2023
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
3 changes: 3 additions & 0 deletions .github/workflows/blobby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: blobby
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/block-buffer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: block-buffer
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/block-padding.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: block-padding
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cmov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: cmov
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/cpufeatures.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: cpufeatures
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/dbl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: dbl
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/fiat-constify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: fiat-constify
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/hex-literal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: hex-literal
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/hybrid-array.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: hybrid-array
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/inout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: inout
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/opaque-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: opaque-debug
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: Security Audit

on:
pull_request:
paths: Cargo.lock
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
paths-ignore:
- README.md

permissions:
contents: read

jobs:
clippy:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/zeroize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
push:
branches: master

permissions:
contents: read

defaults:
run:
working-directory: zeroize
Expand Down