Skip to content

Commit 4ae500d

Browse files
committed
Add permissions for following GitHub Actions
- build-docker-sample-extension-java.yml - markdown-links.yml - followup for #680
1 parent 4bb83d2 commit 4ae500d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build-docker-sample-extension-java.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
workflow_dispatch:
99
schedule:
1010
- cron: '0 0 * * 0'
11+
12+
permissions:
13+
contents: read
14+
1115
env:
1216
SAMPLE_NAME: sample-extension-java
1317
jobs:

.github/workflows/markdown-links.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
- 'external-images.yaml'
1212
workflow_dispatch:
1313

14+
permissions:
15+
contents: read
16+
1417
jobs:
1518
markdown-link-check:
1619
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)