Skip to content

Commit 3cf2233

Browse files
fix: fix perms for validate pr title and ossf scorecard (#2)
1 parent 7c4870e commit 3cf2233

7 files changed

Lines changed: 3 additions & 10 deletions

.github/workflows/check-community-approval.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
name: check-community-approval
55
on: workflow_call
6-
permissions:
7-
contents: read
86

97
jobs:
108
check-community-approval:

.github/workflows/check-pr-thumbs-up.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
name: check-pr-thumbs-up
55
on: workflow_call
6-
permissions:
7-
contents: read
86

97
jobs:
108
check-pr-thumbs-up:

.github/workflows/ossf-scorecard.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
# Required Permissions:
2+
# contents: read
23
# security-events: write
34
# id-token: write
45

56
name: ossf-scorecard
67
on: workflow_call
7-
permissions:
8-
contents: read
98

109
jobs:
1110
ossf-scorecard:

.github/workflows/semver-release.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
name: semver-release
88
on: workflow_call
9-
permissions:
10-
contents: read
119

1210
jobs:
1311
semver-release:

.github/workflows/validate-pr-title.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@
33

44
name: validate-pr-title
55
on: workflow_call
6-
permissions:
7-
contents: read
86

97
jobs:
108
validate-pr-title:

.github/workflows/z_local_ossf-scorecard.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
ossf-scorecard:
1010
name: ossf-scorecard
1111
permissions:
12+
contents: read
1213
security-events: write
1314
id-token: write
1415
uses: ./.github/workflows/ossf-scorecard.yaml

.github/workflows/z_local_validate-pr-title.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ jobs:
1111
validate-pr-title:
1212
name: validate-pr-title
1313
permissions:
14+
contents: read
1415
pull-requests: read
1516
uses: ./.github/workflows/validate-pr-title.yaml
1617
secrets: inherit

0 commit comments

Comments
 (0)