Skip to content

chore: standardize copyright boilerplate and enforce with CI - #765

Merged
google-oss-prow[bot] merged 7 commits into
kubeflow:mainfrom
Prachi01Yadav:fix-issue-566
Oct 2, 2026
Merged

google-oss-prow[bot] merged 7 commits into
kubeflow:mainfrom
Prachi01Yadav:fix-issue-566

Conversation

@Prachi01Yadav

@Prachi01Yadav Prachi01Yadav commented Aug 19, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #566 Replaces #568

What this PR does
-Adds the missing Apache 2.0 copyright headers to 46 files across the repo, and sets up CI to catch any missing headers going forward.

For CI, we're using the reusable composite action from kubeflow/testing#1070 instead of vendoring the script , keeps things clean and in sync.

Changes:
-Added copyright headers to 22 Python files, 13 workflow files, and a bunch of YAML configs + a Dockerfile
-Added code-quality-check.yaml workflow using kubeflow/testing/.github/actions/verify-boilerplate
-Removed the vendored hack/boilerplate/ (boilerplate.py + boilerplate.sh.txt) since the composite action handles it now
-Removed the verify-boilerplate Makefile target (was referencing the vendored script)

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>
@github-actions

Copy link
Copy Markdown
Contributor

🎉 Welcome to the Kubeflow SDK! 🎉

Thanks for opening your first PR! We're happy to have you as part of our community 🚀

Here's what happens next:

  • If you haven't already, please check out our Contributing Guide for repo-specific guidelines and the Kubeflow Contributor Guide for general community standards
  • Our team will review your PR soon! cc @kubeflow/kubeflow-sdk-team

Join the community:

Feel free to ask questions in the comments if you need any help or clarification!
Thanks again for contributing to Kubeflow! 🙏

@google-oss-prow
google-oss-prow Bot requested review from fege and szaher August 19, 2026 06:03
@tariq-hasan

Copy link
Copy Markdown
Member

/ok-to-test
/retest

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>
Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>
Comment thread hack/Dockerfile.spark-e2e-runner Outdated
Comment thread hack/boilerplate/boilerplate.py Outdated
Comment thread .github/workflows/code-quality-check.yaml
Prachi01Yadav and others added 2 commits August 20, 2026 11:21
Co-authored-by: Tariq Hasan <mmtariquehsn@gmail.com>
Signed-off-by: Prachi Yadav <archeyyadav111@gmail.com>
Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>
Comment thread .github/workflows/code-quality-check.yaml Outdated
@tariq-hasan

Copy link
Copy Markdown
Member

@Prachi01Yadav Are you still working on the PR or do we find new contributors to finish the PR?

@Prachi01Yadav

Copy link
Copy Markdown
Contributor Author

@Prachi01Yadav Are you still working on the PR or do we find new contributors to finish the PR?

hi @tariq-hasan sorry for the delay....had my mid sems going on...yes im still on this, will update the workflow push the changes shortly

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>
@google-oss-prow google-oss-prow Bot added size/XL and removed size/XXL labels Oct 1, 2026
@Prachi01Yadav

Copy link
Copy Markdown
Contributor Author

@tariq-hasan updated the workflow to use the composite action and removed the vendored files, ready for re review :))

@andreyvelich andreyvelich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for this @Prachi01Yadav!
/lgtm
/approve

@google-oss-prow

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow
google-oss-prow Bot merged commit bc5fdaf into kubeflow:main Oct 2, 2026
21 of 22 checks passed
@google-oss-prow google-oss-prow Bot added this to the v0.5 milestone Oct 2, 2026
digvijay-y pushed a commit to digvijay-y/sdk that referenced this pull request Oct 17, 2026
…w#765)

* chore: standardize copyright boilerplate and enforce with CI

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>

* style: fix ruff lint and format issues in vendored boilerplate.py

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>

* style: fix ruff format issue with multi-line string

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>

* Update hack/Dockerfile.spark-e2e-runner

Co-authored-by: Tariq Hasan <mmtariquehsn@gmail.com>
Signed-off-by: Prachi Yadav <archeyyadav111@gmail.com>

* ci: add concurrency block to boilerplate workflow

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>

* refactor: use reusable verify-boilerplate action from kubeflow/testing

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>

---------

Signed-off-by: Prachi01Yadav <archeyyadav111@gmail.com>
Signed-off-by: Prachi Yadav <archeyyadav111@gmail.com>
Co-authored-by: Tariq Hasan <mmtariquehsn@gmail.com>
Signed-off-by: digvijay-y <144053736+digvijay-y@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Standardize copyright boilerplate and enforce with CI workflow

4 participants