Skip to content

Commit

Permalink
Merge pull request #107 from grego952/link-checker
Browse files Browse the repository at this point in the history
Enable Markdown Link Check in the ACM repo
  • Loading branch information
kyma-bot authored Nov 15, 2023
2 parents bfc94e9 + 1f95592 commit 8e10d71
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 2 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/daily-markdown-link-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Daily Markdown Link Check
run-name: ${{github.event.pull_request.title}}
on:
schedule:
# Run everyday at 5:00 AM
- cron: "0 5 * * *"
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.mlc.config.json'
folder-path: '.'
max-depth: -1
17 changes: 17 additions & 0 deletions .github/workflows/pr-markdown-link-check.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: PR Markdown Link Check
run-name: ${{github.event.pull_request.title}}
on: [ pull_request ]
jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'yes'
config-file: '.mlc.config.json'
folder-path: '.'
max-depth: -1
check-modified-files-only: 'yes'
base-branch: '${{ github.base_ref }}'
2 changes: 1 addition & 1 deletion .github/workflows/run-vuln-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
- name: vulncheck
uses: golang/govulncheck-action@v1
with:
go-version-input: 1.21.3
go-version-input: 1.21.4
go-package: ./...
12 changes: 12 additions & 0 deletions .mlc.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"replacementPatterns": [
{
"_comment": "a replacement rule for all the in-repository references",
"pattern": "^/",
"replacement": "{{BASEURL}}/"
}
],
"timeout": "20s",
"retryCount": 5,
"fallbackRetryDelay": "30s"
}
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.21.3 as builder
FROM golang:1.21.4 as builder

WORKDIR /workspace

Expand Down

0 comments on commit 8e10d71

Please sign in to comment.