ci: update auto-release workflow and bump version to v4.13#46
Conversation
🤖 Review Buddy - General Code Review
Oho @AnkanSaha! Kya baat hai! Ek simple version bump aur workflow update ko tumne itna 'over-engineered' bawasir bana diya ki dekh ke hi chakkar aa jaye. Bhai, code quality ke naam pe tumne wahi kiya jo 90s ki movies mein hero karta tha—heroine ko bachane ke liye poori city uda di, par end mein pata chala ki heroine toh ghar pe chai pi rahi thi.
Code Quality Score: 3/10. Bhai, thoda logic lagao, sirf copy-paste mat karo internet se. Generated by Review Buddy | Tone: roast | Language: hinglish |
⚡ Review Buddy - Performance Analysis
Bhai, performance ki toh tumne aisi-taisi kar di hai. Aao, vistaar mein samjhate hain ki tumhara ye 'karishma' kitna bhaari padega:
Actionable Advice:
# Aise likho, dimag lagake:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1Performance ke maamle mein ye code 'Gangs of Wasseypur' ka Definite hai—'Tumse na ho payega'. Generated by Review Buddy | Tone: roast | Language: hinglish |
🔐 Review Buddy - Security Audit
Security audit ki report suno, aur thoda dhyan se suno kyunki security ke maamle mein tum bilkul 'Munna Bhai' ke circuit ho.
Overall, security wise tumne darwaza toh band kiya hai, par chabi gate ke niche hi chhupa di hai. Generated by Review Buddy | Tone: roast | Language: hinglish |
📊 Review Buddy - Code Quality & Maintainability Analysis
🎯 Overall Benchmark: 45/100 (Poor)Bhai, Code Quality ke naam pe tumne wahi 'Hera Pheri' ki hai. Quality analysis sunke tumhara dil toot jayega:
Ab jao aur isse theek karo, warna agle review mein isse bhi bura roast karunga. Generated by Review Buddy | Tone: roast | Language: hinglish |
|
|
/buddy yeh mailny banaya gya kyuki, mujhe directly publish karna hai, jab bhi pr merge hoga main pe |
|
@AnkanSaha Arre wah @AnkanSaha! 'Directly publish' karna hai? Ye toh wahi baat ho gayi ki 'Bhai ko pilot banna hai' par cycle chalani bhi nahi aati. Sun, tera 'intent' toh humein PR title se hi samajh aa gaya tha, par tera 'implementation' abhi bhi kisi saste crash course jaisa lag raha hai.
Bhai, directly publish karo ya indirectly, code 'kachra' nahi hona chahiye. Pehle ye redundant steps hata aur permissions set kar, phir hi approve milega. Logic lagao, shortcuts nahi!Generated by Review Buddy | Tone: roast | Language: hinglish |
There was a problem hiding this comment.
Pull request overview
Updates the project’s tracked version and adjusts the GitHub Actions auto-release workflow to better support release creation on version bumps.
Changes:
- Bump
VERSIONfromv4.12tov4.13. - Update the auto-release workflow checkout behavior (full history) and tweak release title/body formatting.
- Add explicit
GITHUB_TOKENusage for the release step and add a Git configuration step.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
VERSION |
Bumps the tracked version to v4.13. |
.github/workflows/auto-release.yml |
Adjusts checkout depth/token usage, changes release naming/body header, and adds token/env + git config steps for release/cleanup. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| - name: Checkout PR branch (merged code) | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| ref: main |
There was a problem hiding this comment.
Checking out ref: main in a pull_request-closed workflow can make the release non-deterministic if additional commits land on main between the merge event and this job running. Prefer checking out the merged commit from the event payload (e.g., github.event.pull_request.merge_commit_sha) so the VERSION you read and the old-version comparison are based on the exact merge that triggered the workflow.
| ref: main | |
| ref: ${{ github.event.pull_request.merge_commit_sha }} |
| - name: Checkout PR branch (merged code) | ||
| uses: actions/checkout@v4 | ||
| with: | ||
| ref: main | ||
| fetch-depth: 0 | ||
| token: ${{ secrets.GITHUB_TOKEN }} |
There was a problem hiding this comment.
The step name says "Checkout PR branch (merged code)", but this uses ref: main. Consider renaming this step to reflect what is actually checked out (or update the ref per the merge commit) to avoid confusion during debugging.
Summary
This PR updates the GitHub Actions workflow for automated releases and bumps the project version to
v4.13.Changes
actions/checkoutto include full fetch depth (though questionable) and explicit token usage.softprops/action-gh-releaseaction.github-actions[bot].VERSIONfile fromv4.12tov4.13.Verification