Nightly check #86
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Nightly check | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
workflow_dispatch: {} | |
concurrency: | |
group: nightly-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
linkCheck: | |
name: Run link check | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
- name: LinkCheck | |
id: linkcheck | |
uses: gaurav-nelson/github-action-markdown-link-check@v1 | |
with: | |
use-quiet-mode: 'yes' | |
use-verbose-mode: 'yes' | |
folder-path: './docs' | |
check-modified-files-only: 'no' | |
base-branch: main | |
config-file: './.github/workflows/link-check.json' | |
slackNotification: | |
needs: linkCheck | |
if: ${{ failure() }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Slack Notification | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_CHANNEL: doc-ci-alerts | |
SLACK_COLOR: danger | |
SLACK_USERNAME: ci | |
SLACK_TITLE: Teku docs nightly build - Failure | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
MSG_MINIMAL: true |