Skip to content

Commit 157b094

Browse files
committed
Tighten up workflow permissions
Address workflow permission security weakness by restriction workflow to only the necessary "read" permission. Signed-off-by: Winford <[email protected]>
1 parent 2daea6d commit 157b094

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build-and-test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
strategy:
1515
matrix:
1616
otp: ["25", "26", "27"]
17+
permissions:
18+
contents: read
1719

1820
steps:
1921
# Setup

0 commit comments

Comments
 (0)