fix prettier options
This commit is contained in:
7
.github/workflows/format.yml
vendored
7
.github/workflows/format.yml
vendored
@@ -3,9 +3,7 @@ on:
|
|||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- 'lua/**.lua'
|
- 'lua/**.lua'
|
||||||
- '**.md'
|
branches: [main]
|
||||||
- '.github/**.yml'
|
|
||||||
branches: [main, dev]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
format:
|
format:
|
||||||
@@ -33,9 +31,6 @@ jobs:
|
|||||||
chmod +x /tmp/stylua
|
chmod +x /tmp/stylua
|
||||||
/tmp/stylua --config-path=.stylua.toml lua/
|
/tmp/stylua --config-path=.stylua.toml lua/
|
||||||
|
|
||||||
- name: Apply prettier
|
|
||||||
uses: creyD/prettier_action@v4.0
|
|
||||||
|
|
||||||
- name: Create PR
|
- name: Create PR
|
||||||
run: |
|
run: |
|
||||||
if ! [[ -z $(git status -s) ]]; then
|
if ! [[ -z $(git status -s) ]]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user