Skip to content

Commit dae760b

Browse files
ci: harden GH Actions (#55)
Co-authored-by: StepSecurity Bot <[email protected]>
1 parent a48901e commit dae760b

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ concurrency:
1717
group: "${{ github.workflow }} ✨ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}"
1818
cancel-in-progress: true
1919

20+
permissions:
21+
contents: read
22+
2023
jobs:
2124
lint:
2225
name: Lint

.github/workflows/generate-readme.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
- index.ts
1010
- config.ts
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
generate-readme:
1417
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)