ci: standardize CI/CD onto the golden path - #39
Draft
AlexanderBrevig wants to merge 1 commit into
Draft
Conversation
- collapse build/ci/cd into ci.yml (PR + deploy dev) and cd.yml (promote tst->prd) - ci auto-deploys to dev/sbx for non-dependabot PRs; dependabot reuses ci after approval - pr.yml validates the PR title as a Conventional Commit (gha-meta verify-pr) - Go library (Template D): ci.yml reproduces go.yml lint+build+test (golangci-lint v2.4, go build, go test -race) on pull_request + workflow_call, test job skips dependabot; go.yml removed (superseded by ci.yml) - release.yml kept as-is: build + test (coverage) + SonarQube scan + gha-meta release_type:go is the library's cd - dependabot-pr.yml reuses ci.yml after approval; codeql.yml and dependabot.yml (github-actions + gomod) kept unchanged Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardizes this repo's CI/CD onto the kvalitet golden-path variant.
📋 Flow & rationale: https://github.com/entur/team-kvalitet/blob/cf2e0a6cc5b68330aaf45d969e2d1fa2b407e201/CICD-FLOW.md
What changes
ci.yml+cd.yml(nobuild.ymlsplit);cideploys to dev/sbx on every PR.pr.ymlvalidates the Conventional-Commit PR title.entur/*actions SHA-pinned (latest majors); workflows named CI / CD / PR.🚧 Draft — for team review of the approach. Branch-protection rulesets / required checks are not changed in this PR.