Skip to content
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

Skip snyk on docker image for dependabot #129

Merged
merged 6 commits into from
Nov 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
teleporter-integration-test:
runs-on: ubuntu-20.04
timeout-minutes: 30
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
steps:
- name: Checkout repositories and submodules
uses: actions/checkout@v4
Expand All @@ -30,6 +32,8 @@ jobs:
./scripts/local/test.sh

- name: Run Snyk on Docker image
# Dependabot isn't allowed to use the Snyk token, so skip this step.
if: ${{ ! startsWith(env.BRANCH_NAME, 'dependabot') }}
# TODO: Once we address the sarif upload issue below, we can re-enable
# continue-on-error to then upload the results to github.
# Snyk can be used to break the build when it detects vulnerabilities.
Expand Down