Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
ci: update generic workflows (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
asyncapi-bot committed Apr 14, 2022
1 parent f5aa8cc commit baef670
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/link-check-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

# Checks the status of hyperlinks in .md files
- name: Check links
uses: gaurav-nelson/github-action-markdown-link-check@v1
uses: derberg/github-action-markdown-link-check@temporary-fix
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
Expand All @@ -29,8 +29,8 @@ jobs:
- name: Report workflow run status to Slack
uses: 8398a7/action-slack@v3
with:
status: ${{ job.status }}
fields: repo,message,action,eventName,ref,workflow
status: ${{ job.status }}
fields: repo,action,workflow
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_DOCS_CHANNEL }}
if: failure() # Only, on failure, send a message on the Slack Docs Channel (if there are broken links)
7 changes: 5 additions & 2 deletions .github/workflows/link-check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ name: Check Markdown links
on:
pull_request_target:
types: [synchronize, ready_for_review, opened, reopened]
paths:
- '**.md'

jobs:
External-link-validation-on-PR:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout repo
uses: actions/checkout@v3
- name: Check links
uses: gaurav-nelson/github-action-markdown-link-check@v1
uses: derberg/github-action-markdown-link-check@temporary-fix
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
Expand Down

0 comments on commit baef670

Please sign in to comment.