-
Notifications
You must be signed in to change notification settings - Fork 0
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
Refactor snyk integrator for maximum reusability #811
Conversation
@@ -0,0 +1,138 @@ | |||
import { randomBytes } from 'crypto'; |
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.
This file has just been moved from packages/snyk-integrator/src/pull-requests.ts
. I'm not sure why GitHub hasn't picked that up
export interface SnykIntegratorEvent { | ||
name: string; | ||
languages: string[]; | ||
} | ||
|
||
//GraphQL types for adding PRs to GitHub Projects |
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.
These types have moved here from the deleted file packages/snyk-integrator/src/types.ts
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.
Much neater! had two non-blocking comments.
9b8efd1
to
171325b
Compare
What does this change?
common
, so that it can be reused when we generate PRs to integrate scala projects with dependabotThe diff here is mostly changes to the lockfile, the code changes represent about 200 lines
Why?
We will be rolling out a workflow file across all scala repos that submits scala dependencies to GitHub, so dependabot can keep an eye on its vulnerabilities. We'll be doing this in much the same way as the Snyk integrator, so want to make this code a little more reusable.
How has it been verified?