Skip to content

Commit 109f8c0

Browse files
joycebrumjaraco
authored andcommitted
Feat: initial permissions to main.yml (#76)
Signed-off-by: Joyce <joycebrumu.u@gmail.com>
1 parent 56cdf46 commit 109f8c0

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
@@ -2,6 +2,9 @@ name: tests
22

33
on: [push, pull_request]
44

5+
permissions:
6+
contents: read
7+
58
env:
69
# Environment variables to support color support (jaraco/skeleton#66):
710
# Request colored output from CLI tools supporting it. Different tools
@@ -104,6 +107,8 @@ jobs:
104107
jobs: ${{ toJSON(needs) }}
105108

106109
release:
110+
permissions:
111+
contents: write
107112
needs:
108113
- check
109114
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')

0 commit comments

Comments
 (0)