Skip to content

Conversation

@mfbx9da4
Copy link
Contributor

@mfbx9da4 mfbx9da4 commented Nov 3, 2025

This adds a GitHub Actions workflow that runs hourly to automatically create release PRs based on merged PRs from the openapi-generation repository.

What it does:

  • Runs every hour (configurable via cron)
  • Checks for new versions of openapi-generation
  • Fetches merged PRs and filters out internal changes
  • Groups changes by programming language
  • Creates a release PR with formatted changelog

Testing:

Once merged to main, the workflow can be triggered manually with:

gh workflow run release-pr.yml

Or it will run automatically every hour.

@mfbx9da4 mfbx9da4 changed the title Add hourly release PR automation workflow ci: add hourly release PR automation workflow Nov 3, 2025
- Convert create-release-pr.sh to create-release-pr.go
- Use os/exec to run shell commands (git, gh, go, semver.bash)
- Improve error handling and JSON parsing
- Update workflow to use go run instead of bash script
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