Remove redundant success() condition

This commit is contained in:
Jakub Beránek 2024-04-27 11:51:31 +02:00
parent 0b1ecf1d8d
commit 686baf5589
No known key found for this signature in database
GPG Key ID: 909CD0D26483516B

View File

@ -243,6 +243,6 @@ jobs:
- name: publish toolstate - name: publish toolstate
run: src/ci/publish_toolstate.sh run: src/ci/publish_toolstate.sh
shell: bash shell: bash
if: success() && github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust' if: github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'
env: env:
TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }} TOOLSTATE_REPO_ACCESS_TOKEN: ${{ secrets.TOOLSTATE_REPO_ACCESS_TOKEN }}