-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #716 from bitpredator/dev
convert: esx_basicneeds > bpt_basicneeds
- Loading branch information
Showing
35 changed files
with
483 additions
and
391 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,23 @@ | ||
- uses: actions/checkout@v4 | ||
- uses: JohnnyMorganz/stylua-action@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes | ||
# CLI arguments | ||
args: --check . | ||
# Check Lua Formatting | ||
name: Check Lua Formatting | ||
on: | ||
push: | ||
branches: [ main, dev ] | ||
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: v0.18.0 | ||
# CLI arguments | ||
args: --check . |
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
Oops, something went wrong.