diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 4544d83..698d948 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -48,36 +48,4 @@ jobs: uses: actions/upload-artifact@v5.0.0 with: name: jacoco-report - path: target/site/jacoco - - format: - name: Format Code - permissions: - contents: write - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v5.0.0 - with: - ref: ${{ github.event.pull_request.head.ref}} - fetch-depth: 0 - - - name: Instalar Java 25 - uses: actions/setup-java@v5.0.0 - with: - distribution: "temurin" - java-version: 25 - - name: Formatar código com Spotless - run: ./mvnw spotless:apply - - - name: Faz um commit e push das mudanças - run: | - git config user.name "github-actions[bot]" - git config user.email "github-actions[bot]@users.noreply.github.com" - git add . - if ! git diff --staged --quiet; then - git commit -m "Aplica formatação do spotless" - git push - else - echo "Nenhuma mudança de formatação necessária." - fi + path: target/site/jacoco \ No newline at end of file