diff --git a/.github/workflows/lint-docs.yml b/.github/workflows/lint-docs.yml index ff64b9bcd2..caa553521b 100644 --- a/.github/workflows/lint-docs.yml +++ b/.github/workflows/lint-docs.yml @@ -13,6 +13,9 @@ on: - '**.md' - '.github/workflows/lint-docs.yml' +permissions: + contents: read + jobs: lint-markdown: name: Lint markdown files @@ -35,7 +38,7 @@ jobs: - name: Run link checker # For any troubleshooting, see: # https://github.com/lycheeverse/lychee/blob/master/docs/TROUBLESHOOTING.md - uses: lycheeverse/lychee-action@8646ba30535128ac92d33dfc9133794bfdd9b411 + uses: lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 with: # user-agent: if a user agent is not specified, some websites (e.g. # GitHub Docs) return HTTP errors which Lychee will interpret as