-
Notifications
You must be signed in to change notification settings - Fork 0
chore: Push artifacts using PRs on the protected branch #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: Push artifacts using PRs on the protected branch #110
Conversation
…for-atrifacts-on-main
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR modifies the deployment workflow to handle artifact pushing differently based on branch protection status. When deploying to the main branch, artifacts are now pushed via pull requests instead of direct commits to accommodate branch protection rules.
Key changes:
- Split artifact saving into two conditional steps: direct commit for non-main branches and PR creation for the main branch
- Added pull request permissions and centralized bot configuration in environment variables
- Reorganized job permissions and environment setup for better clarity
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 #110 +/- ##
=======================================
Coverage ? 83.78%
=======================================
Files ? 4
Lines ? 111
Branches ? 7
=======================================
Hits ? 93
Misses ? 17
Partials ? 1 ☔ View full report in Codecov by Sentry. |
No description provided.