We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49d6729 commit 1084d8dCopy full SHA for 1084d8d
1 file changed
.github/workflows/gradle.yml
@@ -16,6 +16,7 @@ jobs:
16
- name: Checkout branch
17
uses: actions/checkout@v4
18
with:
19
+ ref: ${{ github.head_ref }}
20
token: ${{ secrets.GITHUB_TOKEN }}
21
22
- name: Make gradlew executable
@@ -38,7 +39,7 @@ jobs:
38
39
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
40
git add .
41
git diff --cached --quiet || git commit -m "chore: auto-fix Spotless formatting"
- git push
42
+ git push origin HEAD:${{ github.head_ref }}
43
44
- name: Build with Gradle Wrapper
45
run: ./gradlew build
0 commit comments