diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 60a66485f021..f5d56bd04e9f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -717,6 +717,7 @@ jobs: update-rust-toolchain: runs-on: ubuntu-latest + needs: rules if: ${{ needs.rules.outputs.nightly-upstream == 'true' }} # Note that this doesn't change the minimum supported version, only the # default toolchain to run on. The minimum is defined by Cargo.toml's