From 28a4960e76b28723f4953fbd8388068a0e26c940 Mon Sep 17 00:00:00 2001 From: asyncapi-bot Date: Thu, 14 Apr 2022 11:38:16 +0200 Subject: [PATCH] ci: update generic workflows (#519) --- .github/workflows/link-check-cron.yml | 6 +++--- .github/workflows/link-check-pr.yml | 7 +++++-- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/link-check-cron.yml b/.github/workflows/link-check-cron.yml index e24b066ba..854c972e0 100644 --- a/.github/workflows/link-check-cron.yml +++ b/.github/workflows/link-check-cron.yml @@ -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' @@ -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) diff --git a/.github/workflows/link-check-pr.yml b/.github/workflows/link-check-pr.yml index 6e9eb3589..4bdbad229 100644 --- a/.github/workflows/link-check-pr.yml +++ b/.github/workflows/link-check-pr.yml @@ -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'