-
Notifications
You must be signed in to change notification settings - Fork 138
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
Xblanchot/sca 942/fix commit range in ci #679
Conversation
e6f93d9
to
e00b33d
Compare
db6164c
to
1a4b9d6
Compare
1a4b9d6
to
d5a5115
Compare
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.
Looks good overall, just minor remarks.
The single-commit message is deceiving: I expect a commit whose message is "Add an util to do foo", to mainly add a function and use it, not split a module in 4 and introduce many functions.
Doing the split in a separate commit would have helped tracking the real changes.
d5a5115
to
14476f4
Compare
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.
Nicely done! Thanks a lot for this work!
14476f4
to
dffd627
Compare
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.
Looks great, thanks!
dffd627
to
ef98d62
Compare
This MR adds a util to get the previous state of the targeted branch in CI for github, and use it in sca scan ci.
It also removes the need of defining a custom env variable for PR in github CI. A custom env variable is still required for push event on github.
For now, SCA and IaC CI scans work only with github and gitlab CIs.
All other CIs will come in a next PR.