Skip to content

Commit abed32b

Browse files
authored
Fix missing top-level permissions in GitHub Actions (#262)
On-behalf-of: @SAP marko.mudrinic@sap.com Signed-off-by: Marko Mudrinić <mudrinic.mare@gmail.com>
1 parent ea801a9 commit abed32b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/auto-labeler.yml

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

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
auto-labeler:
1114
if: github.event.pull_request.head.repo.full_name == github.repository

.github/workflows/ossf-scorecard.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- cron: '30 4 * * 1'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
scorecard:
1114
uses: platform-mesh/.github/.github/workflows/job-ossf-scorecard.yml@9ddacafbe3260312cb1cc3f9974ad2fece8effe0

0 commit comments

Comments
 (0)