Skip code coverage generation on cherry-pick PRs (#33068)
* Skip code coverage generation on cherry-picks * Skip upload step for webapp coverage for cherry-picks
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
cbf685b2f4
Коммит
10b6784968
2
.github/workflows/webapp-ci-template.yml
поставляемый
2
.github/workflows/webapp-ci-template.yml
поставляемый
@@ -79,6 +79,8 @@ jobs:
|
||||
run: |
|
||||
npm run test-ci
|
||||
- name: Upload coverage to Codecov
|
||||
# Skip coverage upload for cherry-pick PRs into release branches.
|
||||
if: ${{ github.event_name != 'pull_request' || !startsWith(github.event.pull_request.base.ref, 'release-') }}
|
||||
uses: codecov/codecov-action@v5
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
Ссылка в новой задаче
Block a user