Skip to content

Commit 16d8dcd

Browse files
committed
Run if Preflight completes, only give READ permissions
1 parent 988dc64 commit 16d8dcd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/check-dead-links.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ name: Check Markdown links
44
# access to secrets
55
on:
66
workflow_run:
7-
workflows: ["Receive Pull Request"]
7+
workflows: ["Pull Request Preflight Check"]
88
types:
99
- completed
1010

11+
permissions:
12+
contents: read
13+
1114
jobs:
1215
markdown-link-check:
1316
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)