Skip to content
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

fix: license lint for container-runtime fork #2854

Closed
wants to merge 1 commit into from

Conversation

acpana
Copy link
Contributor

@acpana acpana commented Jun 29, 2023

This is a left over from #2819 to fix the license lint script by overwriting the license url.

We should make this change as any go.mod change will trigger the license-lint job, which will fail without this fix

Sample failed job today: https://github.com/open-policy-agent/gatekeeper/actions/runs/5294608872/jobs/9584136207

Signed-off-by: Alex Pana <8968914+acpana@users.noreply.github.com>
@codecov-commenter
Copy link

Codecov Report

Patch coverage has no change and project coverage change: +0.01 🎉

Comparison is base (6aad7b6) 53.50% compared to head (d1d41bf) 53.51%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2854      +/-   ##
==========================================
+ Coverage   53.50%   53.51%   +0.01%     
==========================================
  Files         133      133              
  Lines       11536    11536              
==========================================
+ Hits         6172     6174       +2     
+ Misses       4887     4885       -2     
  Partials      477      477              
Flag Coverage Δ
unittests 53.51% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 3 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

if [[ "${GO_PACKAGE}" != k8s.io/* ]];
if [[ "${GO_PACKAGE}" == "sigs.k8s.io/controller-runtime" ]] && [[ "${LICENSE_NAME}" == "Apache-2.0" ]];
then
# temporary for our latest fork changes
Copy link
Contributor

Choose a reason for hiding this comment

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

How are we going to enforce the temporary-ness?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ideally, this goes away with our fork. I can file an issue?

Copy link
Contributor

Choose a reason for hiding this comment

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

Might be easier just to leave the test red. It's non-blocking and red tests encourage fixing the underlying issue.

Copy link
Contributor

Choose a reason for hiding this comment

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

Issues are much more likely to be auto-closed, particularly if they are not causing active pain.

@stale
Copy link

stale bot commented Sep 3, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Sep 3, 2023
@stale stale bot closed this Sep 17, 2023
@acpana acpana mentioned this pull request Oct 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants