Skip to content

Commit b7b873c

Browse files
shiranrTessFerrandeztompaana
authored
add explicit permissions (microsoft#1031)
* add explicit permissions * revert change * Adds permissions for MegaLinter workflow * add permissions --------- Co-authored-by: Tess Ferrandez <tferrand@microsoft.com> Co-authored-by: Tomi Paananen <tomi.paananen@microsoft.com>
1 parent 3519801 commit b7b873c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/mega-linter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
build:
2525
name: MegaLinter
2626
runs-on: ubuntu-latest
27+
permissions:
28+
issues: write
29+
pull-requests: write
2730
steps:
2831
# Git Checkout
2932
- name: Checkout Code

.github/workflows/mkdocs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
jobs:
88
deploy:
99
runs-on: ubuntu-latest
10+
permissions:
11+
actions: write
12+
contents: read
13+
deployments: write
1014
steps:
1115
- uses: actions/checkout@v3
1216
with:

0 commit comments

Comments
 (0)