Skip to content

Commit b4b7721

Browse files
committed
ci: update permissions & env vars
1 parent 8f1e76d commit b4b7721

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
verify:
1013
name: Build, Test, Lint & Format Check

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,5 @@ jobs:
4343

4444
- name: Release
4545
run: pnpm release -- --increment=${{ github.event.inputs.version }}
46+
env:
47+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)