Skip to content

GHA: bump protos version#95

Open
wilson-cl wants to merge 4 commits intomainfrom
feat/bump-protos-version
Open

GHA: bump protos version#95
wilson-cl wants to merge 4 commits intomainfrom
feat/bump-protos-version

Conversation

@wilson-cl
Copy link

@wilson-cl wilson-cl commented Jan 20, 2026

This PR introduces GitHub Actions workflows to automate the process of bumping the chainlink-protos/cre/go dependency and creating release tags for the EVM capability module and SDK.

Changes

New Workflows

.github/workflows/bump-chainlink-protos.yml

  • Automates bumping the github.com/smartcontractkit/chainlink-protos/cre/go dependency in the EVM capability module
  • Regenerates protobuf and SDK code via make clean-generate
  • Calculates next version tags (auto-increment or explicit)
  • Creates a PR with version labels for post-merge tagging
  • Supports both manual trigger (workflow_dispatch) and external trigger (repository_dispatch) for cross-repo automation

.github/workflows/create-release-tags.yml

  • Creates git tags for EVM capability (capabilities/blockchain/evm/vX.X.X) and SDK (vX.X.X) releases
  • Automatically triggered when bump-chainlink-protos PRs are merged
  • Extracts version info from PR labels or accepts explicit inputs
  • Supports manual and external triggers for flexibility

New Script

script/calculate-next-versions.sh

  • Calculates next version tags based on existing git tags
  • Supports explicit version overrides or auto-increment:
    • EVM: Increments beta number (v1.0.0-beta.1v1.0.0-beta.2) or patch version
    • SDK: Increments patch version (v1.1.1v1.1.2)
  • Outputs versions for GitHub Actions consumption

Example Flow

1. manual trigger

Screenshot 2026-01-20 at 10 28 43 AM

2. result - version, PR, and version tags

Screenshot 2026-01-20 at 10 30 22 AM

3. PR created - tags and files

Screenshot 2026-01-20 at 10 35 44 AM image

4. Tagging Version triggered by PR merged

Screenshot 2026-01-20 at 10 55 26 AM Screenshot 2026-01-20 at 10 57 23 AM

@wilson-cl wilson-cl requested a review from a team as a code owner January 20, 2026 02:32
@github-actions
Copy link

👋 wilson-cl, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

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

Comments