-
Notifications
You must be signed in to change notification settings - Fork 12
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
chore: add git-secrets-scan to repository #122
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #122 +/- ##
==========================================
+ Coverage 84.59% 84.66% +0.06%
==========================================
Files 198 198
Lines 35380 35380
Branches 4547 4560 +13
==========================================
+ Hits 29931 29954 +23
+ Misses 5298 5281 -17
+ Partials 151 145 -6
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
.projenrc.ts
Outdated
], | ||
}); | ||
|
||
repoProject.tasks.tryFind('build')?.prependSpawn(gitSecretsScan); |
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.
repoProject.tasks.tryFind('build')?.prependSpawn(gitSecretsScan); | |
repoProject.tasks.tryFind('build')!.prependSpawn(gitSecretsScan); |
So that we fail in case something here changes unexpectedly. Also, probably best to run this AFTER the projen default task because that step can generate code and files.
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 its after default but also after build and eslint, but i think thats fine
Signed-off-by: github-actions <github-actions@github.com>
Will also need to be added to aws-cdk-cli-testing i believe.
git-secrets-scan.sh
is copied directly from the old repo; i didn't want to also change it to a typescript file. it runs now beforenpx projen build
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license