Skip to content

Commit 17c51af

Browse files
authored
ci: set GitHub Actions permissions
Signed-off-by: sashashura <[email protected]>
1 parent 3f3e152 commit 17c51af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/main.yml

+5
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ on:
1616
branches:
1717
- "*"
1818

19+
permissions:
20+
contents: read
21+
1922
jobs:
2023
lint:
2124
name: ESLint
@@ -104,6 +107,8 @@ jobs:
104107
- uses: codecov/codecov-action@v2
105108

106109
release:
110+
permissions:
111+
contents: write # for publishing release
107112
name: Release
108113
runs-on: ubuntu-latest
109114
needs:

0 commit comments

Comments
 (0)