-
Notifications
You must be signed in to change notification settings - Fork 7
chore: refactor ci and versioning scheme #815
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
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
📦 Container Size AnalysisComparing 📈 Size Comparison Table
|
📦 Container Size AnalysisComparing 📈 Size Comparison Table
|
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Signed-off-by: Ron <[email protected]>
|
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
Refactors GitHub workflows by separating CI and release concerns, standardizing versioning to use an “edge” base, and strengthening runner security.
- Converts many workflows to
workflow_callwith explicitflavorinputs and removes the now-redundant prime-cache workflow - Updates build & push logic to use
inputs.flavor, pins harden-runner steps, and switches to the “edge” devcontainer tag - Adds
step-security/harden-runnerto applicable workflows and tightens permissions
Reviewed Changes
Copilot reviewed 21 out of 21 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/wc-integration-test.yml | Added runner hardening and updated cache path |
| .github/workflows/wc-build-push.yml | Made build-push a callable workflow; switched to inputs.flavor and “edge” base; cleaned up matrix |
| .github/workflows/wc-build-push-test.yml | New workflow chaining build-push, integration, acceptance tests, and result publishing |
| .github/workflows/vulnerability-scan.yml | Added runner hardening step |
| .github/workflows/update-dependencies.yml | Updated container tag to “edge”; reset permissions; added hardening |
| .github/workflows/social-interaction.yml | Cleared permissions block; added hardening step |
| .github/workflows/release-published.yml | Cleared permissions; added hardening step |
| .github/workflows/release-please.yml | Moved permissions block; added hardening step |
| .github/workflows/release-build.yml | New release-build workflow stitching tests and notes |
| .github/workflows/prime-cache.yml | Removed obsolete prime-cache workflow |
| .github/workflows/pr-report.yml | Cleared permissions; added hardening step |
| .github/workflows/pr-image-cleanup.yml | Cleared permissions; added hardening step |
| .github/workflows/pr-conventional-title.yml | Added runner hardening step |
| .github/workflows/ossf-scorecard.yml | Added runner hardening step |
| .github/workflows/linting-formatting.yml | Added hardening and switched MegaLinter flavor |
| .github/workflows/issue-creation-tool-versions.yml | Added runner hardening step |
| .github/workflows/issue-cleanup.yml | Cleared permissions; added hardening step |
| .github/workflows/continuous-integration.yml | New CI workflow using wc-build-push-test |
| .github/actions/container-size-diff/container-size-diff.sh | Improved formatting and infinite-percentage handling |
Comments suppressed due to low confidence (2)
.github/actions/container-size-diff/container-size-diff.sh:42
- The new branch handling zero base sizes (infinite percentage change) should be covered by automated tests or integration scenarios to ensure the edge case and formatting (
+∞) remain correct.
if [[ ${FROM_SIZE} -eq 0 ]]; then
.github/workflows/wc-integration-test.yml:23
- [nitpick] Consider adding a
name:to this harden-runner step (e.g.,name: Harden runner security) for improved readability and consistency across workflows.
- - uses: step-security/harden-runner@0634a2670c59f64b4a01f0f96f84700a4088b9f0 # v2.12.0
Pull Request Report (#815)Static measures
Time related measures
Status check related measures
|
|
🎉 Hooray! The changes in this pull request went live with the release of v6.1.0 🎉 |




🚀 Hey, I have created a Pull Request
Description of changes
This PR contains a refactoring to the GitHub Workflows, separating concerns for continuous integration and release purposes. This slightly changes the versioning scheme, that is now documented in the readme.
In the process:
✔️ Checklist