Skip to content

Review and fix GitHub Actions workflows#72

Merged
MarkusNeusinger merged 3 commits intomainfrom
claude/fix-github-actions-014fvFJLEVhTP3Nj66BCNymb
Dec 1, 2025
Merged

Review and fix GitHub Actions workflows#72
MarkusNeusinger merged 3 commits intomainfrom
claude/fix-github-actions-014fvFJLEVhTP3Nj66BCNymb

Conversation

@MarkusNeusinger
Copy link
Copy Markdown
Owner

  • Fix regex patterns to match actual format: Parent Issue: and Sub-Issue:
  • Add sub_issue_number and library fields to plot_metadata.json in gen-preview.yml
  • Update bot-sync-status.yml to search for correct "Parent Issue" format
  • Update bot-auto-merge.yml, gen-update-plot.yml, bot-ai-review.yml patterns

- Fix regex patterns to match actual format: **Parent Issue:** and **Sub-Issue:**
- Add sub_issue_number and library fields to plot_metadata.json in gen-preview.yml
- Update bot-sync-status.yml to search for correct "Parent Issue" format
- Update bot-auto-merge.yml, gen-update-plot.yml, bot-ai-review.yml patterns
Copilot AI review requested due to automatic review settings December 1, 2025 05:49
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes inconsistent regex patterns in GitHub Actions workflows to correctly parse issue references from PR bodies. The actual format uses markdown bold markers (**Parent Issue:** #N and **Sub-Issue:** #N), but many workflows were searching for these patterns without the asterisks.

Key changes:

  • Updated grep -oP regex patterns to escape asterisks (\*\*) for extracting parent/sub-issue numbers from PR bodies
  • Added sub_issue_number and library fields to plot_metadata.json in gen-preview.yml for downstream consumption
  • Updated inline comments to reflect correct format strings

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
.github/workflows/gen-update-plot.yml Fixed regex patterns for Sub-Issue and Parent Issue extraction to match markdown bold format
.github/workflows/gen-preview.yml Fixed regex patterns and added sub_issue_number/library fields to metadata JSON for AI review workflow
.github/workflows/bot-sync-status.yml Fixed regex pattern for Parent Issue extraction and updated comments (but search query on line 108 still needs fixing)
.github/workflows/bot-auto-merge.yml Fixed regex patterns for Sub-Issue and Parent Issue extraction (but search query on line 234 still needs fixing)
.github/workflows/bot-ai-review.yml Fixed regex pattern for Sub-Issue extraction and updated comment

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

Comment thread .github/workflows/bot-sync-status.yml Outdated
Comment thread .github/workflows/bot-auto-merge.yml Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings December 1, 2025 07:27
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@MarkusNeusinger MarkusNeusinger merged commit 3296b4c into main Dec 1, 2025
3 checks passed
@MarkusNeusinger MarkusNeusinger deleted the claude/fix-github-actions-014fvFJLEVhTP3Nj66BCNymb branch December 1, 2025 07:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.


You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

MarkusNeusinger added a commit that referenced this pull request Dec 1, 2025
- Fix regex patterns to match actual format: **Parent Issue:** and
**Sub-Issue:**
- Add sub_issue_number and library fields to plot_metadata.json in
gen-preview.yml
- Update bot-sync-status.yml to search for correct "Parent Issue" format
- Update bot-auto-merge.yml, gen-update-plot.yml, bot-ai-review.yml
patterns
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.

3 participants