Skip to content
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

[CI] Add link-checking workflow #1459

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

nate-double-u
Copy link
Contributor

Adding a github workflow to run the link checker on PR.

Checklist

  • Commits are signed with Developer Certificate of Origin (DCO)

Fixes #667

@nate-double-u nate-double-u requested a review from a team as a code owner August 22, 2024 01:15
@nate-double-u nate-double-u marked this pull request as draft August 22, 2024 01:15
Copy link

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

  • Add your contribution to all applicable KEDA versions
  • GitHub checks are passing
  • Is the DCO check failing? Here is how you can fix DCO issues

Learn more about:

Copy link

netlify bot commented Aug 22, 2024

Deploy Preview for keda ready!

Name Link
🔨 Latest commit 22070e6
🔍 Latest deploy log https://app.netlify.com/sites/keda/deploys/66e223f5907ee90008c3d2ce
😎 Deploy Preview https://deploy-preview-1459--keda.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@nate-double-u nate-double-u force-pushed the 667-provide-ci-check-to-verify-links branch 2 times, most recently from 4907119 to e5003e4 Compare August 22, 2024 01:41
@nate-double-u nate-double-u changed the title adding link checking workflow for CI updating link checking workflow for CI Aug 22, 2024
Copy link
Contributor

@chalin chalin left a comment

Choose a reason for hiding this comment

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

You're close, but there are a few issues that we can tackle incrementally. For a first iteration of fixes, see the inline comments.

package.json Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

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

In the postbuild:* scripts, replace _check-links by _check-links--warn as is done in https://github.com/chalin/docsy-starter/blob/main/package.json. Also get that new script from there.

By making that change, it'll fix the build failure, and delegate the failure reporting to the GH workflow.

@chalin chalin changed the title updating link checking workflow for CI [CI] Add link-checking workflow Aug 29, 2024
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
@chalin chalin force-pushed the 667-provide-ci-check-to-verify-links branch from 8c78309 to 7e994f6 Compare August 29, 2024 21:07
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
Signed-off-by: Nate W <natew@cncf.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide CI check to verify links
2 participants