Skip to content

docs: (ci) - skip checking broken links on push to main#504

Merged
talos-bot merged 1 commit intosiderolabs:mainfrom
frezbo:ci/skip-pushes-for-broken-links
Apr 23, 2026
Merged

docs: (ci) - skip checking broken links on push to main#504
talos-bot merged 1 commit intosiderolabs:mainfrom
frezbo:ci/skip-pushes-for-broken-links

Conversation

@frezbo
Copy link
Copy Markdown
Member

@frezbo frezbo commented Apr 21, 2026

There's no need to re-run broken link checks on merge.

Copilot AI review requested due to automatic review settings April 21, 2026 12:43
@github-project-automation github-project-automation Bot moved this to To Do in Planning Apr 21, 2026
@talos-bot talos-bot moved this from To Do to In Review in Planning Apr 21, 2026
@github-project-automation github-project-automation Bot moved this from In Review to Approved in Planning Apr 21, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Docs CI GitHub Actions workflow to stop running on push events to main, relying on PR-time checks instead.

Changes:

  • Removed the push: branches: [main] trigger from .github/workflows/docs-ci.yaml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 3 to 11
on:
pull_request:
paths:
- "public/**"
- "omni/**"
- "talos/**"
- "**/*.md"
- "**/*.mdx"
- "Makefile"
Copy link

Copilot AI Apr 21, 2026

Choose a reason for hiding this comment

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

With push removed, this workflow will no longer run post-merge for changes that don’t match the pull_request.paths filter. In particular, repo contains docs-gen/** (the docs.json generator) and changes there wouldn’t trigger this workflow on PR, and now also won’t get a post-merge run on main, which can let make docs.json drift or make broken-links regressions land undetected. Consider either (a) adding additional paths like docs-gen/** (and any other inputs to make docs.json / make broken-links, e.g. go.mod/go.sum if applicable) to the PR path filter, or (b) restoring a push: branches: [main] trigger and conditionally skipping only the broken-link step on pushes.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

@rothgar these valid?

@frezbo
Copy link
Copy Markdown
Member Author

frezbo commented Apr 23, 2026

/m

There's no need to re-run broken link checks on merge.

Signed-off-by: Noel Georgi <git@frezbo.dev>
@frezbo frezbo force-pushed the ci/skip-pushes-for-broken-links branch from 41f3515 to cc64248 Compare April 23, 2026 08:27
@frezbo
Copy link
Copy Markdown
Member Author

frezbo commented Apr 23, 2026

/m

@talos-bot talos-bot merged commit cc64248 into siderolabs:main Apr 23, 2026
@github-project-automation github-project-automation Bot moved this from Approved to Done in Planning Apr 23, 2026
@frezbo frezbo deleted the ci/skip-pushes-for-broken-links branch April 23, 2026 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants