Skip to content

feat(ci): add regen-stubs workflow for decree releases#123

Open
zeevdr wants to merge 1 commit into
mainfrom
feat/157-regen-stubs
Open

feat(ci): add regen-stubs workflow for decree releases#123
zeevdr wants to merge 1 commit into
mainfrom
feat/157-regen-stubs

Conversation

@zeevdr
Copy link
Copy Markdown
Member

@zeevdr zeevdr commented Jun 4, 2026

Summary

  • Adds a repository_dispatch receiver (decree-released event) that auto-regens Python proto stubs when a new decree version is released.
  • Runs make generate (buf + grpc_tools.protoc) then make test before opening the PR.
  • Uses peter-evans/create-pull-request@v7 (SHA-pinned) to open regen-stubs/<version> PRs with dependencies,ci labels.

Test plan

  • Verify workflow YAML is valid (no lint errors from Actions)
  • After decree tag push, confirm decree-released event triggers this workflow
  • Confirm a regen-stubs/vX.Y.Z PR is opened with updated stubs

Part of opendecree/decree#157.

🤖 Generated with Claude Code

Adds a repository_dispatch receiver that auto-regens proto stubs when
a new decree version is released and opens a PR with the updated stubs.

Part of opendecree/decree#157.
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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