Skip to content

chore: update repositories for workflows re staging, hotfix, communit…#1988

Merged
yingbull merged 4 commits into
developfrom
feature/claude-workflow
Jan 24, 2026
Merged

chore: update repositories for workflows re staging, hotfix, communit…#1988
yingbull merged 4 commits into
developfrom
feature/claude-workflow

Conversation

@yingbull

@yingbull yingbull commented Jan 24, 2026

Copy link
Copy Markdown

…y; cleanup of not working workflows.

Summary by Sourcery

Extend CI workflow triggers to cover staging, hotfix, and community branch patterns and remove obsolete issue-related workflows.

CI:

  • Update Maven, container image, dependency submission, and dependency review workflows to run on staging/, hotfix/, and relevant community/* branches.
  • Remove deprecated issue lifecycle, issue reporter notification, and summary workflows from the GitHub Actions configuration.

Summary by cubic

Expanded CI workflow coverage to include staging, hotfix, and community branches, ensuring builds and dependency checks run under the new branch strategy. Removed non-working issue automation and summary workflows to reduce noise.

  • Refactors
    • Updated triggers in container-images (staging/, hotfix/) and in maven-project, dependency-submission, and dependency-review (staging/, hotfix/, community//develop, community//staging/*).
    • Removed issue-lifecycle-manager.yml, notify-issue-reporter.yml, and summary.yml.

Written for commit b867c27. Summary will update on new commits.

Summary by CodeRabbit

  • Chores

    • Expanded CI/CD and dependency workflows to trigger on staging, hotfix, and additional community branch patterns (broader branch coverage for relevant automation).
  • Revert

    • Removed automated issue lifecycle management workflow.
    • Removed automated issue reporter notification workflow.
    • Removed AI-generated issue summarization workflow.

✏️ Tip: You can customize this high-level summary in your review settings.

Copilot AI review requested due to automatic review settings January 24, 2026 16:32
@sourcery-ai

sourcery-ai Bot commented Jan 24, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Expands GitHub Actions workflow triggers to include staging, hotfix, and community branch patterns while removing several unused issue-related workflows.

Flow diagram for event routing to updated workflows and branches

flowchart TD
  Start([Repository event])

  EventType{Event type}
  BranchCheck{Branch matches
  configured patterns?}

  Start --> EventType

  EventType -->|push| PushBranch{Push branch}
  EventType -->|pull_request| PRBranch{PR target branch}
  EventType -->|workflow_dispatch| ManualDispatch

  %% Push handling
  PushBranch -->|main, develop,
  experimental,
  staging/*,
  hotfix/*,
  community/*/develop,
  community/*/staging/*| MP_DS_CI[Run maven-project,
  container-images,
  dependency-submission
  as configured]
  PushBranch -->|other| NoWorkflowPush[No workflow triggered
  by this PR change]

  %% PR handling
  PRBranch -->|main, develop,
  experimental,
  staging/*,
  hotfix/*| CI_PR[Run container-images
  pull_request]
  PRBranch -->|develop, experimental,
  main, staging/*,
  hotfix/*,
  community/*/develop,
  community/*/staging| DR_PR[Run dependency-review]
  PRBranch -->|other| NoWorkflowPR[No workflow triggered
  by this PR change]

  %% Manual dispatch
  ManualDispatch --> ContainerImagesDispatch[Run container-images
  with workflow_dispatch]

  MP_DS_CI --> End([Workflows run])
  NoWorkflowPush --> End
  CI_PR --> End
  DR_PR --> End
  NoWorkflowPR --> End
  ContainerImagesDispatch --> End

  %% Removed workflows
  Removed[issue-lifecycle-manager,
  notify-issue-reporter,
  summary workflows
  removed]
  Start -.no longer routed.-> Removed
Loading

File-Level Changes

Change Details Files
Broaden Maven CI workflow triggers to cover staging, hotfix, and community branches.
  • Add staging/, hotfix/, and community//develop branches to push triggers
  • Add community//staging/* branches to push triggers
.github/workflows/maven-project.yml
Extend container image build workflow triggers for both push and pull_request events to staging and hotfix branches.
  • Add staging/* and hotfix/* patterns to push branch filters
  • Add staging/* and hotfix/* patterns to pull_request branch filters
.github/workflows/container-images.yml
Expand dependency submission and review workflows to run on staging, hotfix, and community branches.
  • Add staging/, hotfix/, community//develop, and community//staging branch patterns to dependency-submission push triggers
  • Add staging/, hotfix/, community//develop, and community//staging branch patterns to dependency-review pull_request triggers
.github/workflows/dependency-submission.yml
.github/workflows/dependency-review.yml
Remove obsolete issue-related workflows from the repository.
  • Delete issue-lifecycle-manager workflow
  • Delete notify-issue-reporter workflow
  • Delete summary workflow
.github/workflows/issue-lifecycle-manager.yml
.github/workflows/notify-issue-reporter.yml
.github/workflows/summary.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions

github-actions Bot commented Jan 24, 2026

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA b867c27.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

  • .github/workflows/summary.yml

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 7 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Removes several non-working GitHub workflows and updates CI workflow branch filters to include staging/hotfix/community branch patterns.

Changes:

  • Deleted issue summary / issue lifecycle / reporter notification workflows.
  • Expanded branch filters in CI workflows to run on staging/*, hotfix/*, and some community/*/... branches.
  • Updated container image workflow triggers to include staging/* and hotfix/*.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/workflows/summary.yml Removes the “summarize new issues” workflow.
.github/workflows/notify-issue-reporter.yml Removes PR-merge notification workflow for issue reporters.
.github/workflows/issue-lifecycle-manager.yml Removes issue lifecycle automation workflow (labels/auto-close behaviors).
.github/workflows/maven-project.yml Extends PR branch filters to include staging/hotfix/community patterns.
.github/workflows/dependency-submission.yml Extends push branch filters to include staging/hotfix/community patterns.
.github/workflows/dependency-review.yml Extends PR branch filters to include staging/hotfix/community patterns.
.github/workflows/container-images.yml Extends push/PR branch filters to include staging/hotfix patterns.

Comment thread .github/workflows/maven-project.yml Outdated
Comment thread .github/workflows/dependency-submission.yml Outdated
Comment thread .github/workflows/dependency-review.yml Outdated
@coderabbitai

coderabbitai Bot commented Jan 24, 2026

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

Note

Other AI code review bot(s) detected

CodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review.

📝 Walkthrough

Walkthrough

This PR expands branch trigger patterns for multiple CI workflows and removes three GitHub Actions workflows that automated issue/PR notifications, verification, and AI summarization.

Changes

Cohort / File(s) Summary
Branch trigger expansions
.github/workflows/container-images.yml, .github/workflows/dependency-review.yml, .github/workflows/dependency-submission.yml, .github/workflows/maven-project.yml
Added branch patterns such as staging/*, hotfix/*, community/*/develop, and community/*/staging/* to existing push and/or pull_request triggers.
Removed issue/PR automation
.github/workflows/issue-lifecycle-manager.yml
Deleted workflow that handled merged-PR notifications, issue verification via comments, and created/managed status labels (status: pending-verification, status: verified-fixed, status: fix-failed).
Removed issue reporter notifier
.github/workflows/notify-issue-reporter.yml
Deleted workflow that parsed PR bodies for linked issues, posted notification comments to issue reporters, and added status: pending-verification.
Removed AI summarization
.github/workflows/summary.yml
Deleted workflow that generated AI-based summaries for newly opened issues and posted them as comments.

Sequence Diagram(s)

(omitted)

Estimated code review effort

🎯 4 (Complex) | ⏱️ ~45 minutes

Possibly related PRs

Poem

🐰 I hopped through YAML, nibbling lines with care,
Added branches wide and trimmed old bots bare.
Pipelines stretch their paws and start to sing,
While quiet workflows dream of spring. 🥕

🚥 Pre-merge checks | ✅ 2 | ❌ 1
❌ Failed checks (1 inconclusive)
Check name Status Explanation Resolution
Title check ❓ Inconclusive The PR title partially covers the changeset but is truncated and incomplete, referring to 'staging, hotfix, communit…' without fully conveying the full scope of changes including workflow removals and branch pattern expansions. Complete the title to clearly state both main objectives: expand branch patterns for workflows AND remove non-functional workflows (e.g., 'chore: expand workflow triggers and remove unused automation workflows').
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hey - I've found 1 issue, and left some high level feedback:

  • The branch patterns for community staging branches are inconsistent across workflows (e.g., community/*/staging/* in maven-project.yml vs community/*/staging in dependency-submission.yml and dependency-review.yml); consider aligning these so they target the same set of branches.
  • If community branches are expected to build container images as well, consider extending container-images.yml triggers to include the same community/*/develop and community/*/staging patterns used in the other workflows for consistency with the new branch strategy.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The branch patterns for community staging branches are inconsistent across workflows (e.g., `community/*/staging/*` in `maven-project.yml` vs `community/*/staging` in `dependency-submission.yml` and `dependency-review.yml`); consider aligning these so they target the same set of branches.
- If community branches are expected to build container images as well, consider extending `container-images.yml` triggers to include the same `community/*/develop` and `community/*/staging` patterns used in the other workflows for consistency with the new branch strategy.

## Individual Comments

### Comment 1
<location> `.github/workflows/maven-project.yml:53` </location>
<code_context>
+      - staging/*
+      - hotfix/* 
+      - community/*/develop
+      - community/*/staging/*
+

</code_context>

<issue_to_address>
**suggestion (bug_risk):** Align `community/*/staging` vs `community/*/staging/*` branch patterns across workflows.

This workflow uses `community/*/staging/*`, while `dependency-submission.yml` and `dependency-review.yml` use `community/*/staging` (no trailing `/*`). If the goal is to run on all `community/*/staging/*` branches (e.g. `community/foo/staging/bar`), those two workflows may not trigger for some branches. Please standardize the pattern across workflows to match the intended naming convention.

Suggested implementation:

```
      - main
      - develop
      - experimental
      - staging/*
      - hotfix/* 
      - community/*/develop
      - community/*/staging

```

To fully implement the suggestion, verify and, if needed, adjust `.github/workflows/dependency-submission.yml` and `.github/workflows/dependency-review.yml` so they use the same `community/*/staging` branch pattern (or, if the intended convention is `community/*/staging/*`, then change this workflow accordingly instead).
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread .github/workflows/maven-project.yml

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/workflows/maven-project.yml:
- Around line 50-54: Update the branch pattern entries to be consistent: replace
the inconsistent "community/*/staging/*" pattern with "community/*/staging" so
it matches the other workflows, and remove the trailing whitespace after
"hotfix/*" to eliminate stray whitespace; target the branch pattern list entries
that currently contain "staging/*", "community/*/staging/*", and "hotfix/*" to
make these exact textual fixes.

Comment thread .github/workflows/maven-project.yml
yingbull and others added 3 commits January 24, 2026 11:48
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@yingbull yingbull merged commit ef7f8ed into develop Jan 24, 2026
18 checks passed
@yingbull yingbull deleted the feature/claude-workflow branch January 24, 2026 16:50
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