Skip to content

feat: add GitHub Actions workflow to auto-complete epics #20114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 20, 2025

Conversation

ebembi-crdb
Copy link
Contributor

Summary

  • Add GitHub Actions workflow to automatically mark release epics as done when release notes PRs are
    merged
  • Triggers only on merged PRs with "Release notes for" pattern in title
  • Calls ed-tools API to complete the epic completion flow

Changes

  • .github/workflows/mark-epic-done.yml: New workflow for epic auto-completion

Test plan

  • Create test release notes PR and verify workflow triggers on merge
  • Confirm API call is made with correct PR title
  • Verify workflow only runs for release notes PRs (not other PRs)
  • Test error handling when API call fails

Setup Required

Add GitHub secret: EPIC_API_ENDPOINT with API base URL

Automatically mark release notes epics as done when release notes PRs are merged.
@ebembi-crdb ebembi-crdb requested a review from a team as a code owner August 13, 2025 11:45
Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit 9d23d87
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-api-docs/deploys/68a60a1b795dc00008574da7

Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit 9d23d87
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-interactivetutorials-docs/deploys/68a60a1bce4ac60007bc8ce2

Copy link

netlify bot commented Aug 13, 2025

Deploy Preview for cockroachdb-docs canceled.

Name Link
🔨 Latest commit 9d23d87
🔍 Latest deploy log https://app.netlify.com/projects/cockroachdb-docs/deploys/68a60a1b25dc83000875f4d1

Copy link

Files changed:

  • .github/workflows/mark-epic-done.yml

Copy link
Contributor

@mohini-crl mohini-crl left a comment

Choose a reason for hiding this comment

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

LGTM! Please do the testing before merging

@ebembi-crdb ebembi-crdb merged commit 858df55 into main Aug 20, 2025
5 checks passed
@ebembi-crdb ebembi-crdb deleted the feat/mark-epic-done branch August 20, 2025 17:49
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.

2 participants