Skip to content

Commit

Permalink
Auto rebase groovy-dsl on top of kotlin-dsl (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
ov7a authored Jun 18, 2024
2 parents 9f73395 + 9b535d2 commit 579b549
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/auto-rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Rebase groovy-dsl branch
on:
push:
branches:
- kotlin-dsl
workflow_dispatch:

jobs:
rebase:
if: github.repository_owner == 'gradle'
runs-on: ubuntu-latest

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

- name: Rebase
run: |
git config user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
git config user.name "Github Actions"
git rebase origin/kotlin-dsl
git push --force-with-lease origin groovy-dsl

0 comments on commit 579b549

Please sign in to comment.