Add workflow to create releases on tag push - #1443
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughAdds a GitHub Actions workflow that runs for ChangesRelease automation
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/release.yaml:
- Around line 20-23: Update the release lookup condition around gh release view
so only an explicit “release not found” response proceeds to creation; treat
authentication, network, API, and other unexpected lookup failures as errors and
exit before the non-idempotent release creation step. Preserve the existing skip
behavior when the release already exists.
- Around line 20-24: Add a workflow-level concurrency configuration in
release.yaml using a group keyed by the release tag (GITHUB_REF_NAME), with
cancel-in-progress disabled, so runs for the same tag serialize before the
existing gh release view and gh release create steps.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: 43bf2f61-cf19-418f-8b27-ecfd5fb54b1f
📒 Files selected for processing (1)
.github/workflows/release.yaml
This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) | `v1.14.49` → `v1.14.50` |  |  | --- ### Release Notes <details> <summary>mattn/go-sqlite3 (github.com/mattn/go-sqlite3)</summary> ### [`v1.14.50`](https://github.com/mattn/go-sqlite3/releases/tag/v1.14.50): 1.14.50 [Compare Source](mattn/go-sqlite3@v1.14.49...v1.14.50) #### What's Changed - Handle NULL and BLOB values in json example Scan by [@​mattn](https://github.com/mattn) in [#​1441](mattn/go-sqlite3#1441) - Add workflow to create releases on tag push by [@​mattn](https://github.com/mattn) in [#​1443](mattn/go-sqlite3#1443) - fix: keep vtab handle registered when xDestroy fails by [@​canesin](https://github.com/canesin) in [#​1446](mattn/go-sqlite3#1446) #### New Contributors - [@​canesin](https://github.com/canesin) made their first contribution in [#​1446](mattn/go-sqlite3#1446) **Full Changelog**: <mattn/go-sqlite3@v1.14.49...v1.14.50> </details> --- ### Configuration 📅 **Schedule**: (UTC) - Branch creation - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) - Automerge - Between 12:00 AM and 03:59 AM (`* 0-3 * * *`) 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate CLI](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0NC4zMS4wIiwidXBkYXRlZEluVmVyIjoiNDQuMzEuMCIsInRhcmdldEJyYW5jaCI6ImZvcmdlam8iLCJsYWJlbHMiOlsiZGVwZW5kZW5jeS11cGdyYWRlIiwidGVzdC9ub3QtbmVlZGVkIl19--> Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/13964 Reviewed-by: Mathieu Fenniak <mfenniak@noreply.codeberg.org>
Pushing a v* tag now creates the GitHub release automatically with generated notes (What's Changed / New Contributors / Full Changelog, same format as the v1.14.48 notes). Skips tags that already have a release.
Summary by CodeRabbit
v*) are pushed.