Skip to content

Migrate setup-go-kpt action reference to kpt repo - #1164

Merged
efiacor merged 1 commit into
kptdev:mainfrom
Nordix:migrate-setup-go-kpt-to-kpt-repo
Sep 1, 2026
Merged

Migrate setup-go-kpt action reference to kpt repo#1164
efiacor merged 1 commit into
kptdev:mainfrom
Nordix:migrate-setup-go-kpt-to-kpt-repo

Conversation

@aravindtga

Copy link
Copy Markdown
Contributor

Description

  • What changed: Updated all setup-go-kpt action references from local ./.github/actions/setup-go-kpt to kptdev/kpt/.github/actions/setup-go-kpt@main, and removed the now-unused local action directory
  • Why it's needed: The action has been moved to the kpt repository
  • How it works: Replaced action path in 8 workflow files and deleted .github/actions/setup-go-kpt/

Type of Change

  • Refactor

Checklist

  • Code follows project style guidelines
  • Self-reviewed changes
  • Tests added/updated
  • Documentation added/updated
  • All tests and gating checks pass

AI Disclosure

  • I have used AI in the creation of this PR.

If so, please describe how:
- Kiro to update the workflow references and prepare the PR.

Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
@netlify

netlify Bot commented Aug 31, 2026

Copy link
Copy Markdown

Deploy Preview for kpt-porch ready!

Name Link
🔨 Latest commit 207c805
🔍 Latest deploy log https://app.netlify.com/projects/kpt-porch/deploys/6a957e1631e6c400085f5089
😎 Deploy Preview https://deploy-preview-1164--kpt-porch.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@aravindtga

Copy link
Copy Markdown
Contributor Author

It should be merged only after the merge of kptdev/krm-functions-sdk#768 and kptdev/krm-functions-catalog#1295

@aravindtga aravindtga self-assigned this Aug 31, 2026
@sonarqubecloud

Copy link
Copy Markdown

@aravindtga
aravindtga marked this pull request as ready for review September 1, 2026 08:29
@aravindtga
aravindtga requested review from a team September 1, 2026 08:29
@github-actions
github-actions Bot requested a lite review from Copilot September 1, 2026 08:29

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 GitHub Actions workflows to use the setup-go-kpt composite action from the upstream kptdev/kpt repository, removing the previously vendored local action.

Changes:

  • Updated workflow steps to use kptdev/kpt/.github/actions/setup-go-kpt@main instead of ./.github/actions/setup-go-kpt.
  • Removed the now-unused local composite action definition at .github/actions/setup-go-kpt/action.yml.
  • (Related finding) One workflow still references an invalid actions/checkout@v7.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
.github/workflows/sonar-ci-artifacts.yaml Switch setup-go-kpt action reference to upstream repo.
.github/workflows/release.yaml Switch setup-go-kpt action reference to upstream repo.
.github/workflows/porchctl-dev-release.yaml Switch setup-go-kpt action reference to upstream repo.
.github/workflows/porch-e2e-nightly.yaml Switch setup-go-kpt action reference to upstream repo (2 jobs).
.github/workflows/porch-e2e-ci-jobs.yaml Switch setup-go-kpt action reference to upstream repo (2 jobs).
.github/workflows/image-build-push-release.yaml Switch setup-go-kpt action reference to upstream repo.
.github/workflows/gosec-scan.yaml Switch setup-go-kpt action reference to upstream repo.
.github/workflows/golangci-lint.yaml Switch setup-go-kpt action reference to upstream repo.
.github/actions/setup-go-kpt/action.yml Delete local composite action now replaced by upstream reference.
Suppressed comments (2)

.github/workflows/porch-e2e-nightly.yaml:120

  • Using @main for a third-party action makes the workflow non-reproducible and increases supply-chain risk; pin to a specific commit SHA (or a version tag) instead.
        uses: kptdev/kpt/.github/actions/setup-go-kpt@main

.github/workflows/porch-e2e-ci-jobs.yaml:148

  • Using @main for a third-party action makes the workflow non-reproducible and increases supply-chain risk; pin to a specific commit SHA (or a version tag) instead.
        uses: kptdev/kpt/.github/actions/setup-go-kpt@main

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread .github/workflows/sonar-ci-artifacts.yaml
Comment thread .github/workflows/release.yaml
Comment thread .github/workflows/porchctl-dev-release.yaml
Comment thread .github/workflows/porch-e2e-ci-jobs.yaml
Comment thread .github/workflows/gosec-scan.yaml
Comment thread .github/workflows/golangci-lint.yaml
Comment thread .github/workflows/porch-e2e-nightly.yaml
Comment thread .github/workflows/image-build-push-release.yaml
@aravindtga
aravindtga requested review from a team September 1, 2026 13:40
@efiacor
efiacor merged commit 59ff813 into kptdev:main Sep 1, 2026
32 of 34 checks passed
@efiacor
efiacor deleted the migrate-setup-go-kpt-to-kpt-repo branch September 1, 2026 13:44
rendre-greyling pushed a commit to nokia/kpt-porch that referenced this pull request Sep 7, 2026
Signed-off-by: Aravindhan Ayyanathan <aravindhan.a@est.tech>
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.

4 participants