Skip to content

Commit afef18e

Browse files
[StepSecurity] ci: Harden GitHub Actions
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent bc82d4f commit afef18e

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)