Skip to content

feat(ci): add release workflow and align CI with go-makefile-maker#66

Open
onuryilmaz wants to merge 1 commit into
mainfrom
feat/shared-workflows
Open

feat(ci): add release workflow and align CI with go-makefile-maker#66
onuryilmaz wants to merge 1 commit into
mainfrom
feat/shared-workflows

Conversation

@onuryilmaz

@onuryilmaz onuryilmaz commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds .github/workflows/release.yaml delegating to cloudoperators/common/.github/workflows/shared-release.yaml@main for version bump releases (patch/minor/major via workflow_dispatch)
  • Bumps golang.org/x/* dependencies and pins go 1.26.4 in go.mod to resolve govulncheck stdlib findings
  • Aligns Makefile.maker.yaml with go-makefile-maker conventions:
    • VERSION = 0.3.0 and envtest wiring for build/cover.out managed via verbatim so they survive regeneration
    • setGoModVersion: false to preserve the go 1.26.4 patch version
    • ci.yaml and checks.yaml now use go-makefile-maker generated inline jobs as-is

Test plan

  • Verify CI (build + test) passes on this PR
  • Verify checks (lint, shellcheck, typos, reuse) pass on this PR
  • After merge, trigger release workflow manually with bump: patch to validate end-to-end

Copilot AI review requested due to automatic review settings June 24, 2026 15:26
@onuryilmaz onuryilmaz requested a review from a team as a code owner June 24, 2026 15:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 migrates the repository’s CI and linting workflows to call reusable Go workflows from cloudoperators/common, reducing duplicated workflow logic while retaining the existing PR coverage-comment job and non-Go checks.

Changes:

  • Replaced inline build and test jobs in ci.yaml with cloudoperators/common reusable workflows.
  • Extracted Go linting + govulncheck into a dedicated lint job using a shared workflow in checks.yaml.
  • Pinned several third-party GitHub Actions used by the remaining inline jobs to full SHAs.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
.github/workflows/ci.yaml Delegates Go build/test to shared workflows; keeps inline PR coverage reporting with pinned actions.
.github/workflows/checks.yaml Adds a shared-workflow lint job; keeps existing inline non-Go checks and pins actions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yaml Outdated
Comment thread .github/workflows/ci.yaml Outdated
Comment thread .github/workflows/checks.yaml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/checks.yaml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 6 changed files in this pull request and generated 4 comments.

Comment thread .github/workflows/ci.yaml Outdated
Comment thread .github/workflows/checks.yaml Outdated
Comment thread Makefile
Comment thread .github/workflows/release.yaml
@onuryilmaz onuryilmaz changed the title feat(ci): delegate build, test, and lint to shared workflows feat(ci): add release workflow and align CI with go-makefile-maker Jul 6, 2026
@onuryilmaz onuryilmaz force-pushed the feat/shared-workflows branch from 9f4f395 to 82468e5 Compare July 6, 2026 11:24
- Add release workflow delegating to cloudoperators/common shared-release
- Add govulncheck to dependency findings; bump golang.org/x/* and go
  directive to 1.26.4 to resolve stdlib findings
- Configure Makefile.maker.yaml to own VERSION and envtest wiring via
  verbatim, and disable setGoModVersion to preserve go 1.26.4 patch
- Use go-makefile-maker generated ci.yaml and checks.yaml as-is (inline
  jobs); release.yaml remains manually maintained

Signed-off-by: Onur Yılmaz <onur.yilmaz@sap.com>
@onuryilmaz onuryilmaz force-pushed the feat/shared-workflows branch from 82468e5 to ccff868 Compare July 6, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants