Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ov7a committed Jun 18, 2024
1 parent 13c75f3 commit 501276f
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/auto-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,20 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: checkout
- name: Checkout
uses: actions/checkout@v4
with:
ref: groovy-dsl
fetch-depth: '0'

- name: rebase
- name: Rebase
id: rebase
run: |
git config user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
git config user.name "$(gh api /users/${GITHUB_ACTOR} | jq .name -r)"
git config user.name "Github Actions"
git rebase origin/kotlin-dsl
git push origin groovy-dsl
- name: Push changes
if: ${{ steps.rebase.outputs.result == 'success' }}
run: git push origin groovy-dsl

0 comments on commit 501276f

Please sign in to comment.