Skip to content

Commit

Permalink
fix code style on branch
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Sep 22, 2021
1 parent 3a2aea5 commit 47ed672
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ jobs:
echo ::set-output name=SOURCE_BRANCH::${GITHUB_REF#refs/heads/}
echo ::set-output name=SOURCE_TAG::${GITHUB_REF#refs/tags/}
- name: Fix code style
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
run: ./gradlew spotlessApply

- uses: stefanzweifel/git-auto-commit-action@v4
if: github.event_name == 'push' && github.ref != 'refs/heads/main'
with:
commit_message: "spotless: Fix code style"
commit_user_name: Auto Mation
commit_user_email: [email protected]
commit_author: Auto Mation <[email protected]>

- name: Run integration tests for PR
if: github.event_name == 'pull_request'
run: ./gradlew clean build runMainMethodThreadLeakTest
Expand Down

0 comments on commit 47ed672

Please sign in to comment.