Skip to content

Commit 361db18

Browse files
committed
chore: restrict permissions for GITHUB_TOKEN
1 parent b172bf7 commit 361db18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/lf-autoinc-semver.yml

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

8+
# modify the default permissions granted to the GITHUB_TOKEN
9+
permissions:
10+
contents: 'read'
11+
812
jobs:
913
versioning:
1014
uses: 'Linuxfabrik/autoinc-semver/.github/workflows/autoinc-semver.yml@main'

0 commit comments

Comments
 (0)