diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2024-04-27 12:02:05 +0200 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2024-04-29 21:33:17 +0200 |
| commit | adbc84cfacc1d6b73864cdf62592f8db507b6ac3 (patch) | |
| tree | 7ab55a12b69e295bce7ceb954e44291a8ab6347d /.github | |
| parent | 24bf3594a58d47b8d3bc65bb80ba7155fde48a40 (diff) | |
| download | rust-adbc84cfacc1d6b73864cdf62592f8db507b6ac3.tar.gz rust-adbc84cfacc1d6b73864cdf62592f8db507b6ac3.zip | |
Remove redundant `success` expressions from steps
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a62c18ddf6b..6f63bdce0aa 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -116,7 +116,7 @@ jobs: run: echo "[CI_PR_NUMBER=$num]" env: num: ${{ github.event.number }} - if: success() && github.event_name == 'pull_request' + if: github.event_name == 'pull_request' - name: add extra environment variables run: src/ci/scripts/setup-environment.sh @@ -219,7 +219,7 @@ jobs: # adding the condition is helpful as this way CI will not silently skip # deploying artifacts from a dist builder if the variables are misconfigured, # erroring about invalid credentials instead. - if: success() && (github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1') + if: github.event_name == 'push' || env.DEPLOY == '1' || env.DEPLOY_ALT == '1' # This job isused to tell bors the final status of the build, as there is no practical way to detect # when a workflow is successful listening to webhooks only in our current bors implementation (homu). |
