-
Notifications
You must be signed in to change notification settings - Fork 283
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
Only run CI on push for 'official' branches #3150
Only run CI on push for 'official' branches #3150
Conversation
Build failures are due to an incoming breaking change, need that resolved before this can be merged |
CodeQL is throwning errors when run inside of branches created by dependabot requests. Also we've had issue with a flood of CI checks that were redudant when inspecting pull request check results. This should limit the 'doubling' up unless you are making a pull request from a fork's main branch. Signed-off-by: Peter Nied <[email protected]>
cc0c677
to
695443b
Compare
Codecov Report
@@ Coverage Diff @@
## main #3150 +/- ##
============================================
- Coverage 62.45% 62.36% -0.10%
+ Complexity 3354 3348 -6
============================================
Files 254 254
Lines 19749 19749
Branches 3334 3334
============================================
- Hits 12335 12316 -19
- Misses 5785 5799 +14
- Partials 1629 1634 +5 |
- main | ||
- 1.* | ||
- 2.* | ||
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.
Is this valid yaml? Does it need one list element like - *
?
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.
Plan to keep it as is, 'Valid YAML!' according to https://www.yamllint.com/
Looks like an alternative expression would be to indicate null
explicitly.
on:
push:
branches:
- main
- 1.*
- 2.*
pull_request: null
env:
^ At least that is what a linter did.
|
Description
CodeQL is throwing errors when run inside of branches created by dependabot requests. Also we've had issue with a flood of CI checks that were redudant when inspecting pull request check results. This should limit the 'doubling' up unless you are making a pull request from a fork's main branch.
Check List
New functionality includes testingNew functionality has been documentedBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.