diff --git a/.github/actions/link-check/link_parser.py b/.github/actions/link-check/link_parser.py index 0976ab600..2d7222aeb 100644 --- a/.github/actions/link-check/link_parser.py +++ b/.github/actions/link-check/link_parser.py @@ -69,6 +69,8 @@ def generate_issue_body(broken_links: list[BrokenLink]) -> str: Please investigate and fix these issues to ensure all links are functional. Thank you! +> To test locally if all link issues are resolved use `bazel run //:docs_link_check` + --- This issue will be auto updated regularly if link issues are found. You may close it if you wish, though a new one will be created if link issues are still present. diff --git a/.github/workflows/link_check.yml b/.github/workflows/link_check.yml index 8f0269646..79be15b7e 100644 --- a/.github/workflows/link_check.yml +++ b/.github/workflows/link_check.yml @@ -6,6 +6,10 @@ on: # Runs every week at 00:00 on Sunday - cron: '0 0 * * 0' +permissions: + contents: read + issues: write + jobs: link-check: runs-on: ubuntu-latest