Skip to content

Single codemod execution performance improvements #198

Single codemod execution performance improvements

Single codemod execution performance improvements #198

name: Format Pixeebot PRs
on:
pull_request:
types: [opened, synchronize]
jobs:
spotless-apply:
if: github.event.pull_request.user.login == 'pixeebot[bot]'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: "Setup JDK"
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: 🐘Setup Gradle
uses: gradle/actions/setup-gradle@v3
with:
cache-read-only: true
- name: 🎨 Run spotless via Gradle
run: ./gradlew spotlessApply
- name: Commit and push changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: ":art: Apply formatting"