Skip to content

Commit 3bfd01f

Browse files
committed
chore(ci): tighten workflow token permissions
1 parent c3bf818 commit 3bfd01f

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/check-tag.yml

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

8+
permissions:
9+
contents: read
10+
811
jobs:
912
check:
1013
runs-on: ubuntu-latest

.github/workflows/check.yml

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
test:
1114
runs-on: ${{ matrix.os }}

0 commit comments

Comments
 (0)