Skip to content

Commit b6447ec

Browse files
committed
ci: Improving the security of the workflow.
1 parent 2280250 commit b6447ec

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ on:
99
tags:
1010
- '*'
1111

12-
permissions:
13-
contents: write
12+
permissions: read-all
1413

1514
jobs:
1615
release_job:
1716
runs-on: ubuntu-latest
17+
permissions:
18+
contents: write
1819
name: GoReleaser
1920
steps:
2021
- name: Harden Runner

0 commit comments

Comments
 (0)