Skip to content

Commit

Permalink
fix(ci): commit on PR
Browse files Browse the repository at this point in the history
  • Loading branch information
deemp committed Apr 29, 2024
1 parent d01d2d3 commit ec227ca
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,15 @@ jobs:
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- name: Configure github-actions bot
- name: Configure git
env:
# required for gh
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.name github-actions
git config --global user.email [email protected]
${{ github.head_ref && format('gh pr checkout {0}', github.event.pull_request.number) || ''}}
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Rebase
run: ${{ env.git_pull }}
Expand All @@ -69,9 +74,9 @@ jobs:
- name: Commit & push changes
run: |
git add dist
git commit -m "chore: build the action" || echo ""
git commit -m "chore: build the action" || echo "Nothing to commit"
git add .
git commit -m "chore: update docs" || echo ""
git commit -m "chore: update docs" || echo "Nothing to commit"
git push
# Make `individual` caches
Expand Down

0 comments on commit ec227ca

Please sign in to comment.