Skip to content

Commit 924e114

Browse files
authored
ci: fix download coverage for sonar workflow (#674)
1 parent 562256b commit 924e114

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.github/actions/download-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ runs:
66
- name: Download dist folder
77
uses: actions/download-artifact@v4
88
with:
9-
name: library-dist-${{ github.sha }}
9+
name: library-dist-${{ github.event.workflow_run.head_sha || github.sha }}
1010
path: dist

.github/actions/download-coverage-report/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ runs:
66
- name: Download coverage report
77
uses: actions/download-artifact@v4
88
with:
9-
name: ngx-deploy-npm-coverage-report-${{ github.sha }}
9+
name: ngx-deploy-npm-coverage-report-${{ github.event.workflow_run.head_sha || github.sha }}
1010
path: coverage/packages/ngx-deploy-npm

.github/actions/download-lint-report/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ runs:
66
- name: Download lint report
77
uses: actions/download-artifact@v4
88
with:
9-
name: lint-report-${{ github.sha }}
9+
name: lint-report-${{ github.event.workflow_run.head_sha || github.sha }}
1010
path: reports

.github/workflows/pr.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ jobs:
1010
pr-test:
1111
uses: ./.github/workflows/basic-test.yml
1212

13-
pr-e2e-test:
14-
uses: ./.github/workflows/e2e-test.yml
13+
# pr-e2e-test:
14+
# uses: ./.github/workflows/e2e-test.yml
1515

1616
check-commit-lint:
1717
name: Check commit message follows guidelines
@@ -36,5 +36,6 @@ jobs:
3636
run: npx pretty-quick --check
3737

3838
backwards-compatibility-test:
39+
name: Backwards compatibility test
3940
needs: [pr-test]
4041
uses: ./.github/workflows/backwards-compatibility-test.yml

0 commit comments

Comments
 (0)