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:
Alois Klink
2022-11-10 18:23:03 +00:00
committed by GitHub
parent fcd93794ce
commit 195f3a5feb

View File

@@ -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