Skip to content

Commit 338ffce

Browse files
committed
ci: set permissions
1 parent 2cecf14 commit 338ffce

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.github/workflows/feature.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,8 @@ jobs:
6565
- run: pnpm build
6666
timeout-minutes: 10
6767
name: Lint, test and build
68+
permissions:
69+
contents: read
6870
on:
6971
pull_request:
7072
branches:

.github/workflows/main.yaml

+3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@ jobs:
22
release:
33
runs-on: ubuntu-latest
44
environment: release
5+
permissions:
6+
contents: read
7+
id-token: write
58
name: Release
69
steps:
710
- uses: pnpm/action-setup@v4

0 commit comments

Comments
 (0)