Skip to content

🌱 Add broken link check action #505

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
12 changes: 12 additions & 0 deletions .github/workflows/pr-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: PR Check Links

permissions:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move permissions below on: triggers.

contents: read

on:
pull_request:
types: [opened, edited, reopened, synchronize, ready_for_review]

jobs:
check-pr-links:
uses: metal3-io/project-infra/.github/workflows/pr-link-check.yml@main
17 changes: 17 additions & 0 deletions .github/workflows/scheduled-link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Scheduled Link Check

permissions:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move permissions below on: triggers.

contents: read
issues: write

on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
repository_dispatch:
# run manually
types: [check-links]

jobs:
check-links:
uses: metal3-io/project-infra/.github/workflows/scheduled-link-check.yml@main
5 changes: 5 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://github.com/issues based urls give error 404 if user is not logged in.
https://github.com/issues

# Pages with rigorous bot detection
https://www.dell.com/
10 changes: 5 additions & 5 deletions docs/user-guide/src/capm3/features.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Cluster-api-provider-metal3 features

- [Remediation](capm3/remediaton.md)
- [Node Reuse](capm3/node_reuse.md)
- [Pivoting](capm3/pivoting.md)
- [Automated cleaning](capm3/automated_cleaning.md)
- [Label synchronization](capm3/label_sync.md)
- [Remediation](./remediaton.md)
- [Node Reuse](./node_reuse.md)
- [Pivoting](./pivoting.md)
- [Automated cleaning](./automated_cleaning.md)
- [Label synchronization](./label_sync.md)