Skip to content

chore(maven): bump org.openrewrite.recipe:rewrite-recommendations from 1.9.0 to 1.10.0 #1488

chore(maven): bump org.openrewrite.recipe:rewrite-recommendations from 1.9.0 to 1.10.0

chore(maven): bump org.openrewrite.recipe:rewrite-recommendations from 1.9.0 to 1.10.0 #1488

Workflow file for this run

name: Format
on:
push:
paths-ignore:
- "*.txt"
pull_request:
paths-ignore:
- "*.txt"
workflow_dispatch:
jobs:
formatting:
name: Format files
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Setup JDK 21
uses: actions/setup-java@v4
with:
distribution: 'oracle'
java-version: 21
- name: Format Java files
run: mvn rewrite:run
- name: Install prettier
run: npm install -g --save-dev --save-exact prettier
- name: Format the rest of the files
run: prettier . --write
- name: Commit changes
run: |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git add .
if [[ $(git status --porcelain) ]]; then
git commit -m "style: format codebase"
fi
- name: Push changes
if: github.event_name != 'pull_request'
run: git push