Skip to content

Commit 589a12a

Browse files
committed
fix: adding required permissions to top level and jobs in the workflow
Signed-off-by: Gagan H R <hrgagan4@gmail.com>
1 parent c68a286 commit 589a12a

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release-notes.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ on:
2727
end-sha:
2828
description: 'Ending SHA? (latest HEAD)'
2929

30+
permissions:
31+
contents: read
32+
3033
jobs:
3134
release-notes:
3235
name: Release Notes

.github/workflows/verify.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: verify
22
on: [push, pull_request]
3+
permissions:
4+
contents: read
5+
36
jobs:
47
verify:
58
name: verify

0 commit comments

Comments
 (0)