Skip to content

Workflow file for this run

name: Rebase groovy-dsl branch
on:
push:
branches:
- kotlin-dsl
- ov7a/auto-rebase
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
id: 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
- name: Push changes
if: ${{ steps.rebase.outputs.result == 'success' }}
run: git push origin groovy-dsl