Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
There was a problem hiding this comment.
Pull Request Overview
This PR fixes the branch name resolution for release automation by properly handling the BRANCH_NAME parameter in GitHub workflows. The changes ensure that the correct branch is used when creating pull request checks and passing parameters between workflow jobs.
- Adds
BRANCH_NAMEinput parameter to workflows for proper branch identification - Updates PR head reference logic to use
BRANCH_NAMEwhen available, falling back toVERSION - Consolidates environment variable setup and improves variable naming consistency
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/run-tests-on-release.yml | Adds BRANCH_NAME input parameter and updates PR_HEAD logic to use it |
| .github/workflows/deploy-staging-and-prepare-release.yaml | Refactors environment setup, renames VERSION to BRANCH_NAME, and passes BRANCH_NAME between jobs |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #5930 +/- ##
=========================================
Coverage 40.04% 40.04%
=========================================
Files 2472 2472
Lines 40153 40153
Branches 9144 8814 -330
=========================================
Hits 16080 16080
- Misses 22864 24046 +1182
+ Partials 1209 27 -1182 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Scope of the change