Skip to content

Commit 53052b2

Browse files
[StepSecurity] Apply security best practices (#473)
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io> Co-authored-by: stepsecurity-app[bot] <188008098+stepsecurity-app[bot]@users.noreply.github.com>
1 parent ea3ac96 commit 53052b2

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
merge_group:
77
branches:
88
- main
9+
permissions:
10+
contents: read
11+
912
jobs:
1013
rustfmt:
1114
name: rustfmt

.github/workflows/release-plz.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
concurrency:
77
group: "${{ github.workflow }}"
88
cancel-in-progress: true
9+
permissions:
10+
contents: read
11+
912
jobs:
1013
release-plz:
1114
name: release-plz

0 commit comments

Comments
 (0)