Skip to content

Conversation

@TabishB
Copy link
Contributor

@TabishB TabishB commented Jan 14, 2026

Problem

The polish-release-notes workflow was failing with two errors:

  1. Unsupported event type: release events are not supported by the Claude Code action
  2. Invalid parameter: direct_prompt was deprecated in v1.0, replaced with prompt

See failed run: https://github.com/Fission-AI/OpenSpec/actions/runs/20985214300

Solution

  • Changed trigger from release event to workflow_dispatch (manual trigger)
  • Replaced direct_prompt with prompt parameter
  • Updated all tag references from github.event.release.tag_name to inputs.tag_name

How to Use After Merge

After publishing a release, manually trigger the workflow:

  1. Go to ActionsPolish Release Notes
  2. Click Run workflow
  3. Select main branch
  4. Enter the release tag (e.g., v0.18.0)
  5. Click Run workflow

The workflow will:

  • Fetch the current release notes
  • Polish them with Claude
  • Update the release with improved notes and title

Testing

The workflow syntax is valid and addresses both error messages from the failed run.

…action parameters

The workflow was failing due to two issues:
1. Using unsupported 'release' event trigger - Claude Code action doesn't support this event type
2. Using deprecated 'direct_prompt' parameter instead of 'prompt'

Changes:
- Switch from 'release' trigger to 'workflow_dispatch' for manual triggering
- Replace 'direct_prompt' with 'prompt' parameter (v1.0 breaking change)
- Update all tag references from github.event.release.tag_name to inputs.tag_name

The workflow now needs to be manually triggered from GitHub Actions UI after a release is published.
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 14, 2026

Warning

Rate limit exceeded

@TabishB has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 5 minutes and 54 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

📥 Commits

Reviewing files that changed from the base of the PR and between ed2e832 and ff32610.

📒 Files selected for processing (1)
  • .github/workflows/polish-release-notes.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.

@TabishB TabishB merged commit c57e421 into main Jan 14, 2026
7 checks passed
@TabishB TabishB deleted the fix/polish-release-notes-workflow branch January 14, 2026 07:02
@vibe-kanban-cloud
Copy link

Review Complete

Your review story is ready!

View Story

Comment !reviewfast on this PR to re-generate the story.

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