Skip to content

set username

set username #6

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 rebase origin/kotlin-dsl
- name: Push changes
if: ${{ steps.rebase.outputs.result == 'success' }}
run: |
git config --global user.email "${GITHUB_ACTOR_ID}+${GITHUB_ACTOR}@users.noreply.github.com"
git config --global user.name "${GITHUB_ACTOR}"
git push origin groovy-dsl