Skip to content

Don't run snyk on PR builds #51

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

Merged
merged 1 commit into from
Jun 9, 2020

Conversation

areina
Copy link
Contributor

@areina areina commented Jun 9, 2020

Because of this security constraint, we can't execute the snyk test step on travis for pull requests.

alejandrodnm
alejandrodnm previously approved these changes Jun 9, 2020
.travis.yml Outdated
@@ -4,8 +4,8 @@ go:
- "1.13"
script:
- make
- npm install -g snyk
- make snyk
- 'if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then npm install -g snyk; fi'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we just better do SNYK_TOKEN != "" that way for PRs from the same repo snyk runs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Will change it.

@areina areina force-pushed the disable-snyk-in-pull-requests branch from a393e01 to 87eb9f7 Compare June 9, 2020 14:52
@alejandrodnm alejandrodnm merged commit 24de6b5 into newrelic:master Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants