Skip to content

Commit c8eb7a9

Browse files
Add minimum token permissions for all github workflow files (#1035)
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>
1 parent 6ed9aa6 commit c8eb7a9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ on:
99

1010
permissions:
1111
contents: read
12-
issues: write
1312

1413
jobs:
1514
build:
@@ -43,6 +42,9 @@ jobs:
4342
uses: ./.github/workflows/reusable-markdown-link-check.yml
4443

4544
workflow-notification:
45+
permissions: # required by the reusable workflow
46+
contents: read
47+
issues: write
4648
needs:
4749
- build
4850
if: failure() && github.run_attempt == 1

0 commit comments

Comments
 (0)