Skip to content

Commit ab4187b

Browse files
authored
Merge pull request #222 from SAP-docs/workflow-permissions-update
add permissions to workflow
2 parents ff74537 + 53cdde0 commit ab4187b

4 files changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/community-id-requester.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ on:
2323
issues:
2424
types: [labeled]
2525

26+
permissions:
27+
contents: read
28+
issues: write
29+
pull-requests: write
30+
2631
jobs:
2732

2833
community-id-requester:

.github/workflows/disallowed-content-checks.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ on:
2222
pull_request_target:
2323
branches: [main]
2424

25+
permissions:
26+
contents: read
27+
pull-requests: write
28+
2529
jobs:
2630
main:
2731
runs-on: ubuntu-22.04

.github/workflows/markdown-checks.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
branches: [main]
2020
paths: 'docs/**'
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
main:
2427
if: contains(github.repositoryUrl, 'github.com')

.github/workflows/merged-pr-labeler.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
pull_request_target:
1919
types: [closed]
2020

21+
permissions:
22+
contents: read
23+
pull-requests: write
24+
2125
jobs:
2226

2327
assign-label-on-merge:

0 commit comments

Comments
 (0)