mirror of https://github.com/citusdata/citus.git
Filter out upload coverage action for PRs from forks (#8033)
add condition to filter out coverage upload action for PRs from forks as the necessary secret is not available to them and fails the whole pipelinepull/8025/head^2
parent
4cd8bb1b67
commit
8587de850b
|
@ -396,7 +396,8 @@ jobs:
|
|||
flags: ${{ env.PG_MAJOR }}_citus_upgrade
|
||||
codecov_token: ${{ secrets.CODECOV_TOKEN }}
|
||||
upload-coverage:
|
||||
if: always()
|
||||
# secret below is not available for forks so disabling upload action for them
|
||||
if: ${{ github.event.pull_request.head.repo.full_name == github.repository || github.event_name != 'pull_request' }}
|
||||
env:
|
||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
||||
runs-on: ubuntu-latest
|
||||
|
|
Loading…
Reference in New Issue