Skip to content

Commit

Permalink
Merge branch 'master' into issue-414
Browse files Browse the repository at this point in the history
  • Loading branch information
magicmatatjahu authored Apr 19, 2022
2 parents f01e6f3 + d0de3a1 commit ef7488a
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 13 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/link-check-cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,20 @@ 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'

# A configuration file can be included, indicating the properties of the link check action
# More information can be found here: https://github.com/tcort/markdown-link-check#config-file-format
# Create mlc_config.json file in the root of the directory

- 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_DOCS_CHANNEL: ${{ secrets.SLACK_DOCS_CHANNEL }}
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)
13 changes: 10 additions & 3 deletions .github/workflows/link-check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,22 @@ 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'
check-modified-files-only: 'yes' #Only modified files are checked on PRs
check-modified-files-only: 'yes' # Only modified files are checked on PRs

# A configuration file can be included, indicating the properties of the link check action
# More information can be found here: https://github.com/tcort/markdown-link-check#config-file-format
# Create mlc_config.json file in the root of the directory
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@
{
"name": "next-major",
"prerelease": true
},
{
"name": "next-major-spec",
"prerelease": true
}
],
"plugins": [
Expand Down

0 comments on commit ef7488a

Please sign in to comment.