Skip to content

ci: fix CI Auto-Fix workflow comment step - #15

Merged
razinkele merged 1 commit into
mainfrom
chore/quick-fixes-coderabbit
Jan 4, 2026
Merged

razinkele merged 1 commit into
mainfrom
chore/quick-fixes-coderabbit

Conversation

@razinkele

@razinkele razinkele commented Jan 4, 2026 •

Copy link
Copy Markdown
Owner

Fix the CI Auto-Fix workflow so it posts comments on related PRs using issues.createComment (the previous method �ctions.createWorkflowRunComment is not available and caused the action to fail). This enables the auto-fix workflow to complete and open formatting PRs automatically when CI fails.

Summary by CodeRabbit

  • Chores
    • Enhanced CI workflow to deliver more targeted developer feedback by posting comments directly on associated pull requests instead of workflow runs, with improved messaging about formatting fixes and diagnostic PRs.

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

@coderabbitai

coderabbitai Bot commented Jan 4, 2026 •

Copy link
Copy Markdown

Caution

Review failed

The pull request is closed.

📝 Walkthrough

Walkthrough

Modified the GitHub Actions workflow to shift comment posting from workflow runs to associated pull requests. The workflow now fetches PRs linked to the workflow run and iterates through them to post comments via the Issues API instead of the Actions API.

Changes

Cohort / File(s) Summary
Workflow Automation
​.github/workflows/ci-auto-fix.yml
Replaced "Comment on original run" step with "Comment on related PRs (if any)"; changed from Actions API (createWorkflowRunComment) to Issues API for PR comments; added logic to fetch associated pull requests and iterate over them; constructs comment body referencing the workflow run.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Poem

🐰 A workflow's wisdom, now refined and fleet,
Comments hop from runs to PRs—no retreat!
The Issues API leads the way so true,
To post on branches, making feedback new. ✨


📜 Recent review details

Configuration used: defaults

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 49d39f1 and afae925.

📒 Files selected for processing (1)
  • .github/workflows/ci-auto-fix.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@razinkele razinkele added the ci-fix CI workflow fixes and automation corrections label Jan 4, 2026
@razinkele
razinkele merged commit 30ad222 into main Jan 4, 2026
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-fix CI workflow fixes and automation corrections

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant