From 997a916217cf0d7c75c92eeb746fafee1a3e3c56 Mon Sep 17 00:00:00 2001 From: Ronak Date: Thu, 28 Oct 2021 12:46:49 +0530 Subject: [PATCH] chore: fix snyk and codecov issue --- .github/workflows/pr-build.yml | 2 +- .github/workflows/pr-test.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-build.yml b/.github/workflows/pr-build.yml index 6d70f43..1f124ea 100644 --- a/.github/workflows/pr-build.yml +++ b/.github/workflows/pr-build.yml @@ -50,6 +50,6 @@ jobs: - name: Setup snyk uses: snyk/actions/setup@0.3.0 - name: Snyk test - run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$' + run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --configuration-matching='^runtimeClasspath$' --remote-repo-url='${{ github.server_url }}/${{ github.repository }}.git' env: SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} diff --git a/.github/workflows/pr-test.yml b/.github/workflows/pr-test.yml index dcb575e..bccdd5f 100644 --- a/.github/workflows/pr-test.yml +++ b/.github/workflows/pr-test.yml @@ -34,10 +34,9 @@ jobs: args: jacocoTestReport - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v2 with: name: unit test reports - fail_ci_if_error: true flags: unit - name: copy test reports