Skip to content

Commit 7ab08fa

Browse files
authored
Harden the permissions of the GitHub Workflows (#24)
1 parent f5a30a4 commit 7ab08fa

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/publish-release.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
description: Force a release even when there are release-blockers (optional)
1111
required: false
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
release:
1518
runs-on: ubuntu-latest

.github/workflows/tests.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- master
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
tests:
1114
name: Tests

0 commit comments

Comments
 (0)