Skip to content

Commit

Permalink
fix: scarb version checking
Browse files Browse the repository at this point in the history
  • Loading branch information
varex83 committed Sep 3, 2024
1 parent 7df7fed commit 387f80b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/check-scarb-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,17 @@ jobs:
git add .scarb_version
git commit -m "Update Scarb version to ${{ env.SCARB_VERSION }}"
- name: Push changes and create PR
- name: Push changes to new branch
if: env.update_required == 'true' && env.pr_exists == 'false'
run: |
git push origin update-scarb-${{ env.SCARB_VERSION }}
- name: Create PR
if: env.update_required == 'true' && env.pr_exists == 'false'
uses: peter-evans/create-pull-request@v5
with:
branch: update-scarb-${{ env.SCARB_VERSION }}
base: main # Make sure this matches your default branch
title: 'Update Scarb to version ${{ env.SCARB_VERSION }}'
body: |
A new version of Scarb has been released: **${{ env.SCARB_VERSION }}**.
Expand Down

0 comments on commit 387f80b

Please sign in to comment.