Skip to content

Commit c6ebb27

Browse files
committedSep 23, 2023
ci: constrain GITHUB_TOKEN permissions
References: actions/checkout#485
1 parent e0a0bc1 commit c6ebb27

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎.github/workflows/ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
branches:
66
- master
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
test:
1013
name: test

‎.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- '*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912

1013
build-package:

0 commit comments

Comments
 (0)
Failed to load comments.