Skip to content

Commit

Permalink
Use correct key for token in lychee action
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenMaude committed Oct 16, 2024
1 parent d7994b6 commit 1d97732
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/check_links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,4 @@ jobs:
args: "--exclude-all-private --include-verbatim --max-concurrency 24 --require-https --verbose --no-progress --timeout 60 './docs/**/*.md' './docs/**/*.html' './imported_docs/**/*.md' './imported_docs/**/*.html' --exclude-path './docs/ehrql/includes/generated_docs'"
fail: true
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

- name: "Notify Slack on Failure"
if: ${{ failure() && github.event_name == 'schedule' }}
uses: zuplo/github-action-slack-notify-build@cf8e7e66a21d76a8125ea9648979c30920195552 # v2
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
with:
channel_id: C0270Q313H7
status: "Check Docs Links Failure"
color: danger
token: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 1d97732

Please sign in to comment.