Skip to content

chore(deps): lock file maintenance #354

chore(deps): lock file maintenance

chore(deps): lock file maintenance #354

Workflow file for this run

# Automatically format clojure code using cljstyle
# For more information, please visit: https://github.com/Wall-Brew-Co/open-source/blob/master/README.md#automating-opinions
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:
# Checkout the repository with our Wall Brew Bot Token
# We need this so any changes can be committed back to the repository
- name: Checkout Repository
id: checkout
uses: actions/checkout@v4.2.1
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.WALL_BREW_BOT_PAT }}
- name: Install cljstyle
id: install-cljstyle
uses: just-sultanov/setup-cljstyle@v1
with:
version: '0.14.0'
- name: Format Clojure Code
id: format
run: |
cljstyle fix --report --report-timing --verbose
- name: Commit Changes
id: commit
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