Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions .github/workflows/update-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,16 +56,14 @@ jobs:
echo "changed=true" >> $GITHUB_OUTPUT
fi

- name: Commit and push changes
- name: Commit changes
if: steps.check-changes.outputs.changed == 'true'
env:
GITHUB_TOKEN: ${{ steps.gh-app-token.outputs.token }}
HUSKY: 0 # Disable husky hooks for automated commits
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
# Checkout the proper branch (handle both PR and push events)
BRANCH_NAME="${{ github.head_ref || github.ref_name }}"
git checkout "$BRANCH_NAME"
git add packages/builder/src/export/versions.ts
git commit -m "chore: update export versions"
git push origin "$BRANCH_NAME"
git push
Loading