Skip to content

Commit 321c08d

Browse files
Sarthak SinghalSarthak Singhal
authored andcommitted
merged main
2 parents ec840de + ce318ae commit 321c08d

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

.github/workflows/pr-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
fetch-depth: 0
2121
submodules: recursive
2222

23+
- name: Ensure submodules point to commit from main branch
24+
run: git submodule foreach --recursive "git merge-base --is-ancestor HEAD origin/main"
25+
2326
- name: create checksum file
2427
uses: hypertrace/github-actions/checksum@main
2528

@@ -72,7 +75,7 @@ jobs:
7275
- name: Setup snyk
7376
uses: snyk/actions/[email protected]
7477
- name: Snyk test
75-
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk
78+
run: snyk test --all-sub-projects --org=hypertrace --severity-threshold=low --policy-path=.snyk --remote-repo-url='${{ github.server_url }}/${{ github.repository }}.git'
7679
env:
7780
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
7881
GRADLE_OPTS: -Dorg.gradle.workers.max=1 # Snyk doesn't handle parallelism

.github/workflows/pr-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ jobs:
3535
args: jacocoTestReport
3636

3737
- name: Upload coverage to Codecov
38-
uses: codecov/codecov-action@v1
38+
uses: codecov/codecov-action@v2
3939
with:
4040
name: unit test reports
41-
fail_ci_if_error: true
4241
flags: unit
4342

4443
- name: copy test reports

0 commit comments

Comments
 (0)