Dogfood bouncer #159
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Formatter | |
on: [pull_request] | |
jobs: | |
formatting: | |
runs-on: ubuntu-latest | |
steps: | |
- name: git checkout | |
uses: actions/checkout@v4.1.7 | |
with: | |
ref: ${{ github.head_ref }} | |
token: ${{ secrets.WALL_BREW_BOT_PAT }} | |
- name: Install cljstyle | |
uses: just-sultanov/setup-cljstyle@v1 | |
with: | |
version: '0.14.0' | |
- name: Format Clojure code | |
run: | | |
cljstyle fix --report --report-timing --verbose | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5.0.1 | |
with: | |
commit_message: | | |
[Format] Auto-formatting | |
# This file was automatically copied and populated by rebroadcast | |
# Do not edit this file directly, instead modify the source at https://github.com/Wall-Brew-Co/rebroadcast/blob/master/sources/github-actions/workflows/format.yml |