Skip to content

Commit 9a0ffc4

Browse files
fix: [StepSecurity] ci: Harden GitHub Actions (#2907)
Signed-off-by: StepSecurity Bot <[email protected]> Co-authored-by: Utkarsh Umesan Pillai <[email protected]>
1 parent 16ff4b0 commit 9a0ffc4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/benchmark.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
branches:
1414
- main
1515
name: benchmark pull requests
16+
permissions:
17+
contents: read
18+
1619
jobs:
1720
runBenchmark:
1821
name: run benchmark

.github/workflows/markdown-link-check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
paths:
99
- '**/*.md'
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
markdown-link-check:
1316
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)