Skip to content

Commit

Permalink
Make create-pr step condition not always false (model-checking#2378)
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Apr 16, 2023
1 parent 49a256a commit 6ba67d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/toolchain-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down

0 comments on commit 6ba67d0

Please sign in to comment.