Skip to content

Set up buf with buf-action - #45

Merged
poluruprvn merged 1 commit into
mainfrom
ci/buf-action
Nov 26, 2026
Merged

poluruprvn merged 1 commit into
mainfrom
ci/buf-action

Conversation

@poluruprvn

@poluruprvn poluruprvn commented Nov 26, 2026 •

Copy link
Copy Markdown
Member

bufbuild/buf-setup-action runs on Node 20, which GitHub is retiring, and has had no release since January 2025. bufbuild/buf-action, which pug's buf-ci already uses, replaces it: with setup_only: true it installs the same buf version without running its lint, breaking or push steps. Pinned the way each workflow already pinned buf-setup-action.

Summary by CodeRabbit

  • Chores
    • Updated the CI and release workflows to use the current Buf setup action while retaining the pinned Buf version and authentication settings.

buf-setup-action runs on Node 20, which GitHub is retiring, and has had no release since January 2025. buf-action's setup_only mode installs the same buf without running its checks.
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CI and release workflows replace buf-setup-action with [email protected] and set setup_only: true. Both retain their Buf version and GitHub token inputs.

Changes: Buf setup workflows

Layer / File(s) Summary
Update Buf setup steps
.github/workflows/ci.yml, .github/workflows/release.yml
Both workflows use [email protected] and set setup_only: true. The pinned Buf version and GitHub token inputs remain. CI comments describe the new action's pinning and authentication.

Possibly related PRs

  • pug-sh/sdk-node#24: Adds a release workflow step that uses the Buf CLI, which the updated Buf setup step in release.yml provides.

Change: Other

Merge Risk: Minimal · up to 78bf2

This change moves the CI and release workflows to the maintained Buf action while still only installing Buf at the pinned version. No concrete merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Set up buf with buf-action" matches the main change. Both workflows, ci.yml and release.yml, swap bufbuild/[email protected] for bufbuild/[email protected] with setup_only: true, so …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Set up buf with buf-action" matches the main change. Both workflows, ci.yml and release.yml, swap bufbuild/[email protected] for bufbuild/[email protected] with setup_only: true, so Buf is installed without running lint, breaking, or push steps. The title is specific and concise, and a teammate scanning history would understand the primary change. It does not mention the reason for the swap (the old action's Node 20 use and lack of releases), but that detail is not required.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3677c261-3330-4874-98cd-c85a12a413ec
Commits

Reviewing files that changed from the base of the PR and between 2f15ee4 and 78bf274.

Files selected for processing: 2

  • .github/workflows/ci.yml
  • .github/workflows/release.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@leo-the-pug leo-the-pug Bot added this to Inbox Nov 26, 2026
@leo-the-pug leo-the-pug Bot moved this to Todo in Inbox Nov 26, 2026
@poluruprvn
poluruprvn merged commit 4e4b627 into main Nov 26, 2026
7 checks passed
@poluruprvn
poluruprvn deleted the ci/buf-action branch November 26, 2026 09:41
@github-project-automation github-project-automation Bot moved this from Todo to Done in Inbox Nov 26, 2026
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.

1 participant