Skip to content

Merge pull request #632 from bitpredator/dev #21

Merge pull request #632 from bitpredator/dev

Merge pull request #632 from bitpredator/dev #21

Workflow file for this run

# Check Lua Formatting
name: Check Lua Formatting
on:
push:
branches: [ main ]
pull_request:
types: [ labeled ]
jobs:
stylua-check:
name: Stylua Check
runs-on: ubuntu-latest
permissions:
contents: write
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.label.name == 'format_all') }}
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
# CLI arguments
args: --check .