Skip to content

small fix for public statuses #17

small fix for public statuses

small fix for public statuses #17

Workflow file for this run

name: Re-format Code
on:
pull_request:
branches:
- main
jobs:
format:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
- name: Install IntelliJ IDEA
run: |
wget -q -O idea.tar.gz https://download.jetbrains.com/idea/ideaIC-2024.1.1.tar.gz
tar -xzf idea.tar.gz
- name: Format code
run: |
./*/bin/format.sh -m *.java -r .
- name: Commit changes
run: |
git config user.name 'github-actions[bot]'
git config user.email "github-actions[bot]@users.noreply.github.com"
git commit -a -m "Auto-format code"
git push