Skip to content

Commit c19e061

Browse files
incertumFranzBusch
andauthored
update: set explicit permissions in GitHub workflows (1/2) (#151)
update: set explicit permissions in GitHub workflows (1/2) PR 1: pull_request related workflows only See #150 CC @FranzBusch Signed-off-by: Melissa Kilby <[email protected]> Co-authored-by: Franz Busch <[email protected]>
1 parent a32cf8b commit c19e061

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [opened, reopened, synchronize]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
soundness:
912
name: Soundness

.github/workflows/pull_request_label.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [labeled, unlabeled, opened, reopened, synchronize]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
semver-label-check:
912
name: Semantic version label check

0 commit comments

Comments
 (0)