Skip to content

Commit

Permalink
ci: add schedule link checks
Browse files Browse the repository at this point in the history
  • Loading branch information
SparkYuan committed Jun 28, 2024
1 parent 10b6aea commit 26bab6f
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Note:
2. Please create an issue first to describe the problem.
We recommend that link the issue with the PR in the following question.
For more info, check https://kusionstack.io/docs/governance/contribute/
For more info, check https://www.kusionstack.io/community/intro/
-->

## What type of PR is this?
Expand Down
10 changes: 0 additions & 10 deletions .github/workflows/broken-links

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/broken-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Check Markdown links

on:
pull_request:
types: [opened, edited, synchronize, reopened]
schedule:
# Run everyday at 10:00 AM (See https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07)
- cron: "0 10 * * *"

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-verbose-mode: 'yes'
5 changes: 0 additions & 5 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ name: Check
on:
pull_request:
types: [opened, edited, synchronize, reopened]
branches:
- main
push:
branches:
- main
jobs:
# Lints Pull Request commits with commitlint.
#
Expand Down

0 comments on commit 26bab6f

Please sign in to comment.