mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-15 06:19:24 +02:00
ci(lint-checker): lock down permissions
Lock down the GITHUB_TOKEN permissions. lychee only needs `GITHUB_TOKEN` to read public data without hitting rate-limits, so having read-only access to contents should be fine.
This commit is contained in:
3
.github/workflows/link-checker.yml
vendored
3
.github/workflows/link-checker.yml
vendored
@@ -20,6 +20,9 @@ on:
|
||||
jobs:
|
||||
linkChecker:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# lychee only uses the GITHUB_TOKEN to avoid rate-limiting
|
||||
contents: read
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
Reference in New Issue
Block a user