Skip to content

Commit 6ba67d0

Browse files
authored
Make create-pr step condition not always false (#2378)
1 parent 49a256a commit 6ba67d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/toolchain-upgrade.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ jobs:
4343
echo "branch_exists=true" >> $GITHUB_ENV
4444
fi
4545
- name: Create Pull Request
46-
if: ${{ ! env.branch_exists }}
47-
uses: peter-evans/create-pull-request@v4
46+
if: ${{ env.branch_exists == 'false' }}
47+
uses: peter-evans/create-pull-request@v5
4848
with:
4949
commit-message: Upgrade Rust toolchain to nightly-${{ env.next_toolchain_date }}
5050
branch: toolchain-${{ env.next_toolchain_date }}

0 commit comments

Comments
 (0)