-
Notifications
You must be signed in to change notification settings - Fork 25
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
build: add detect-secrets stage to build #223
Conversation
bd28767
to
1fe0d48
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 to me! Had a question about the approach but I'll approve to avoid re-review (though @pyrooka might want to chime in on Monday 🙂)
- pip install --upgrade "git+https://github.com/ibm/detect-secrets.git@master#egg=detect-secrets" | ||
script: | ||
- detect-secrets scan --update .secrets.baseline | ||
- detect-secrets -v audit --report --fail-on-unaudited --fail-on-live --fail-on-audited-real .secrets.baseline |
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.
Just out of curiosity, why not just add these steps to the above "script" section, where the tests are run, etc. ?
This looks good and looks clean overall, I'm just curious why you took this approach.
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.
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.
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.
Ah okay, cool!
.travis.yml
Outdated
install: | ||
- npm install | ||
script: | ||
- echo npm run semantic-release |
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.
Oops, I just realized I need to fix this 😂
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.
now fixed
1fe0d48
to
2f5ea19
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.
Nothing I can complain about (😂), this looks good and clean indeed.
db77906
to
fe7f685
Compare
Signed-off-by: Phil Adams <phil_adams@us.ibm.com>
fe7f685
to
e449cf8
Compare
🎉 This PR is included in version 5.17.5 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR re-organizes the Travis build a bit in order to add a "detect-secrets" stage to the build.