Skip to content

Point the build status badge at GitHub Actions - #1119

Merged
sanjain-progress merged 1 commit into
chef:mainfrom
tas50:github_actions_build_badge
Sep 9, 2026
Merged

sanjain-progress merged 1 commit into
chef:mainfrom
tas50:github_actions_build_badge

Conversation

@tas50

@tas50 tas50 commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

The README build badge still pointed at the chef-oss/chef-cookstyle-main-verify Buildkite pipeline. CI runs on GitHub Actions now, so the badge showed the status of a pipeline that no longer gates this repo.

This swaps it for the unit workflow badge, filtered to main — that is the workflow that actually runs the test suite on every push to main. The link target uses ?query=branch%3Amain so clicking through lands on the main-branch runs rather than all runs.

-[![Build status](https://badge.buildkite.com/c086ffe05e32e4d61282b91ead96b3721590a59ed4360cf7ac.svg?branch=main)](https://buildkite.com/chef-oss/chef-cookstyle-main-verify)
+[![Unit tests](https://github.com/chef/cookstyle/actions/workflows/unit.yml/badge.svg?branch=main)](https://github.com/chef/cookstyle/actions/workflows/unit.yml?query=branch%3Amain)

Verification

  • Badge SVG and link target both return HTTP 200; the SVG currently renders unit - passing.
  • bundle exec rake — 1239 examples, 0 failures; lint and validate_config pass.

Left alone deliberately: there is also a lint workflow running on main that has no badge. Adding one is outside what this change is for, so flagging it rather than bundling it in.

@tas50
tas50 requested review from a team and jaymzh as code owners August 24, 2026 18:40
The README's build badge still pointed at the chef-oss/chef-cookstyle-main-verify
Buildkite pipeline. CI moved to GitHub Actions, so the badge reflected a pipeline
that no longer gates this repo.

Swap it for the unit workflow, filtered to main, which is the workflow that
actually runs the test suite on every push to main. Verified the badge SVG and
its target both return 200 and that the badge currently renders 'unit - passing'.

Signed-off-by: Tim Smith <tsmith84@proton.me>
Copilot AI lite review requested due to automatic review settings September 8, 2026 18:22
@tas50
tas50 force-pushed the github_actions_build_badge branch from 10b9fbe to 5f598d9 Compare September 8, 2026 18:22

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is a straightforward README badge update and the referenced unit.yml workflow exists and matches the intended main-branch filtering.

Pull request overview

Updates the repository’s README build status badge to reflect the current CI system (GitHub Actions) instead of the retired Buildkite pipeline, so readers see the status of the workflow that actually gates main.

Changes:

  • Replaces the Buildkite badge with a GitHub Actions badge for the unit workflow.
  • Filters both the badge and link target to main branch runs for more relevant status and navigation.
File summaries
File Description
README.md Swaps the Buildkite build status badge for the GitHub Actions unit.yml workflow badge/link filtered to main.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@sanjain-progress
sanjain-progress merged commit fd6ea5b into chef:main Sep 9, 2026
44 checks passed
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.

3 participants