fix(ci): stylua
This commit is contained in:
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
@@ -22,7 +22,9 @@ jobs:
|
|||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
printf 'STYLE_BRANCH=bot/style/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
|
printf 'STYLE_BRANCH=bot/style/%s\n' ${GITHUB_REF#refs/heads/} >> $GITHUB_ENV
|
||||||
git checkout -b ${STYLE_BRANCH}
|
|
||||||
|
- name: Checkout to style branch
|
||||||
|
run: git checkout -b ${STYLE_BRANCH}
|
||||||
|
|
||||||
- uses: JohnnyMorganz/stylua-action@v1
|
- uses: JohnnyMorganz/stylua-action@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
local lush = require "lush"
|
local lush = require "lush"
|
||||||
|
|
||||||
|
|
||||||
local function generate(p, opt)
|
local function generate(p, opt)
|
||||||
local p1 = {
|
local p1 = {
|
||||||
bg = p.bg,
|
bg = p.bg,
|
||||||
|
|||||||
Reference in New Issue
Block a user