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

Add dependabot and auto update deps #2768

Merged
merged 3 commits into from
Jul 28, 2023
Merged

Add dependabot and auto update deps #2768

merged 3 commits into from
Jul 28, 2023

Conversation

nak3
Copy link
Contributor

@nak3 nak3 commented Jul 26, 2023

As per title, this is same with knative-extensions/net-gateway-api#498.

Fix #2759

@knative-prow knative-prow bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label Jul 26, 2023
@knative-prow knative-prow bot requested review from kauana and KauzClay July 26, 2023 01:06
@knative-prow knative-prow bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 26, 2023
@codecov
Copy link

codecov bot commented Jul 26, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (7051d30) 81.75% compared to head (980e7d3) 81.75%.
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2768   +/-   ##
=======================================
  Coverage   81.75%   81.75%           
=======================================
  Files         167      167           
  Lines       10201    10201           
=======================================
  Hits         8340     8340           
  Misses       1614     1614           
  Partials      247      247           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


- name: Run ./hack/update-deps.sh
working-directory: ./src/github.com/${{ github.repository }}
run: ./hack/update-deps.sh
Copy link
Member

Choose a reason for hiding this comment

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

You'll want to run update-codegen as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, update-codegen.sh includes update-deps.sh so replaced with update-codegen.sh

Copy link
Member

Choose a reason for hiding this comment

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

We'll want to run update-codegen.sh after update-deps.sh - updates in dependencies could change the generated code (ie. generating clients)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Okay, updated. Just note, the client codes (k8s.io/* and knative.dev/* are ignored by dependabot so it is not supposed to be bumped automatically.

@dprotaso
Copy link
Member

/assign @kvmware

with:
ref: ${{ github.head_ref }}
path: ./src/github.com/${{ github.repository }}
fetch-depth: 0
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious on these settings some seem to be the defaults and why do you want all history?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just used with same value in .github/workflows/knative-downstream.yaml. It seems that it was added for some reason #2265 (comment)
If we remove it, I think we should use consistent value in all action.

@dprotaso
Copy link
Member

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Jul 28, 2023
@knative-prow
Copy link

knative-prow bot commented Jul 28, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, nak3

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

The pull request process is described here

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

@knative-prow knative-prow bot merged commit 801a900 into knative:main Jul 28, 2023
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Third party libraries are not latest version
3 participants