Skip to content

fix: replace blocked actions in proto update#401

Merged
omer-topal merged 1 commit intomainfrom
fix/protos-workflow-actions
Mar 26, 2026
Merged

fix: replace blocked actions in proto update#401
omer-topal merged 1 commit intomainfrom
fix/protos-workflow-actions

Conversation

@omer-topal
Copy link
Copy Markdown
Contributor

@omer-topal omer-topal commented Mar 26, 2026

Summary by CodeRabbit

  • Chores
    • Refined GitHub Actions workflow for automated protocol buffer updates with improved dependency handling and change management.

@omer-topal omer-topal merged commit adad736 into main Mar 26, 2026
3 checks passed
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 26, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 80f5665d-a5e1-43ce-96c0-13aa639e07a8

📥 Commits

Reviewing files that changed from the base of the PR and between 9358b8a and f2d129d.

📒 Files selected for processing (2)
  • .github/workflows/protos.yml
  • scripts/commit-changes.sh

📝 Walkthrough

Walkthrough

The pull request updates a GitHub Actions workflow for protocol buffer operations. It pins the hardening action, replaces npm with yarn, manually installs Buf CLI binary, and introduces a custom bash script to conditionally commit changes and create or update pull requests based on detection.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/protos.yml
Updated runner hardening action to v2.13.3, replaced npm-install action with inline yarn command, replaced Buf setup action with manual curl-based binary download (v1.57.0), and refactored PR creation from peter-evans/create-pull-request to custom script-driven flow with conditional gh pr create/edit logic.
Commit Automation Script
scripts/commit-changes.sh
New bash script implementing strict error handling that detects uncommitted changes, conditionally creates git commits with configured author identity, stages changes, and outputs signals to GITHUB_OUTPUT for workflow coordination.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Poem

🐰 With Buf CLI and yarn so true,
The workflow found a path anew,
When changes arrive, commits take flight,
PRs bloom forth in GitHub's light,
This rabbit rejoices, the automation's right! 🎉

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/protos-workflow-actions

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

Comment @coderabbitai help to get the list of available commands and usage tips.

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.

1 participant