[bot] synced file(s) with Wall-Brew-Co/rebroadcast #217
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: | |
# This job requires the Wall Brew Bot Token, so it is only run on non-forked repositories | |
if: github.repository_owner == 'Wall-Brew-Co' | |
runs-on: ubuntu-latest | |
steps: | |
- name: git checkout | |
uses: actions/[email protected] | |
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/[email protected] | |
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 |