-
Notifications
You must be signed in to change notification settings - Fork 528
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: base-ref/head-ref missed in dependency-review on master #2308
Conversation
on: | ||
push: | ||
branches: | ||
- master | ||
- /^release-.*$/ | ||
pull_request: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Base-ref/head-ref are automatically assigned on pull_request, but are missing when pushing to master.
Doc link 👇
Codecov Report
@@ Coverage Diff @@
## master #2308 +/- ##
============================================
+ Coverage 65.06% 65.08% +0.01%
+ Complexity 981 979 -2
============================================
Files 498 498
Lines 41241 41241
Branches 5738 5738
============================================
+ Hits 26832 26840 +8
+ Misses 11750 11746 -4
+ Partials 2659 2655 -4 see 9 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution
@@ -3,7 +3,6 @@ name: "3rd-party" | |||
on: | |||
push: | |||
branches: | |||
- master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why need to remove it, since it is a triggering branch
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure why need to remove it, since it is a triggering branch
When pushing to the master branch, base-ref/head-ref isn't auto-assigned, leading to frequent errors. The reason for omitting it is that during PRs, we can directly check for unauthorized third-party libraries using 'Dependency Review' and decide whether to include them. There's no need to showcase this during master branch pushes.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get it, Thanks for the detailed description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also update the toolchain & other influenced repo, THX
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -3,7 +3,6 @@ name: "3rd-party" | |||
on: | |||
push: | |||
branches: | |||
- master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Get it, Thanks for the detailed description
Purpose of the PR
fix: base-ref/head-ref miss in dependency-review on pushing to master
Main Changes
Verifying these changes
Does this PR potentially affect the following parts?
Documentation Status
Doc - TODO
Doc - Done
Doc - No Need