From 4b07c1bf6e9f74d42c79f07333adcb5d3b2b321c Mon Sep 17 00:00:00 2001 From: Checksum Date: Wed, 17 Jul 2024 19:08:48 -0500 Subject: [PATCH] build: syntax --- .github/workflows/release.yml | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 12277d1..d7ffa1f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -44,20 +44,19 @@ jobs: - name: Run bundle run: bun run bundle - - name: Commit bundle results - if: github.event_name == 'pull_request' - run: | - git config --global user.email "ci@beatforge.net" - git config --global user.name "BeatForge CI" - - # Check if there are any changes - if [ -n "$(git status --porcelain)" ]; then - git add . - git commit -m "chore: bundle update" - git push origin HEAD:${{ github.event.pull_request.head.ref }} - else - echo "No changes to commit" - fi + - name: Commit bundle results + if: github.event_name == 'pull_request' + run: | + git config --global user.email "ci@beatforge.net" + git config --global user.name "BeatForge CI" + + # Check if there are any changes + if [ -n "$(git status --porcelain)" ]; then + git add . + git commit -m "chore: bundle update" + git push origin HEAD:${{ github.event.pull_request.head.ref }} + else + echo "No changes to commit" - name: Release Please uses: google-github-actions/release-please-action@v3