Skip to content

Commit 0387be8

Browse files
Create branch if it doesn't exist on local and remote repo. This will create a branch with the same name as the branch on the forked repository, and applies the spotless commit on this new branch.
1 parent 1a6cb36 commit 0387be8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/apply_spotless.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
uses: stefanzweifel/git-auto-commit-action@v5
4949
with:
5050
commit_message: Apply Spotless
51+
create_branch: true
5152

5253
- name: Run spotlessApply for Wear
5354
run: ./gradlew :wear:spotlessApply --init-script gradle/init.gradle.kts --no-configuration-cache --stacktrace

0 commit comments

Comments
 (0)