From 6ba67d0c175120d42cd97a3eaa692136f74e9f70 Mon Sep 17 00:00:00 2001 From: Michael Tautschnig Date: Sun, 16 Apr 2023 22:42:13 +0200 Subject: [PATCH] Make create-pr step condition not always false (#2378) --- .github/workflows/toolchain-upgrade.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/toolchain-upgrade.yml b/.github/workflows/toolchain-upgrade.yml index 63bb1e8fc4e6..bc9527f62837 100644 --- a/.github/workflows/toolchain-upgrade.yml +++ b/.github/workflows/toolchain-upgrade.yml @@ -43,8 +43,8 @@ jobs: echo "branch_exists=true" >> $GITHUB_ENV fi - name: Create Pull Request - if: ${{ ! env.branch_exists }} - uses: peter-evans/create-pull-request@v4 + if: ${{ env.branch_exists == 'false' }} + uses: peter-evans/create-pull-request@v5 with: commit-message: Upgrade Rust toolchain to nightly-${{ env.next_toolchain_date }} branch: toolchain-${{ env.next_toolchain_date }}