Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Pin md link checker's version #7697

Merged
merged 7 commits into from
Dec 8, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/allowed-actions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// This is a whitelist of GitHub Actions that are approved for use in this project.
// If a new or existing workflow file is updated to use an action or action version
// not listed here, CI will fail.

module.exports = [
'gaurav-nelson/github-action-markdown-link-check@e3c371c731b2f494f856dc5de7f61cea4d519907', // gaurav-nelson/github-action-markdown-link-check@v1.0.8
]
2 changes: 1 addition & 1 deletion .github/workflows/md-link-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@v1
- uses: gaurav-nelson/github-action-markdown-link-check@e3c371c731b2f494f856dc5de7f61cea4d519907
with:
use-quiet-mode: 'yes'
config-file: '.github/workflows/mlc_config.json'
6 changes: 6 additions & 0 deletions .github/workflows/mlc_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,11 @@
{
"pattern": "^https://crates.io"
}
],
"replacementPatterns": [
{
"pattern": "%20",
"replacement": " "
}
]
}