Skip to content

Commit e823346

Browse files
committed
Merge branch 'refactor' of https://github.com/Dragokillfist/Cryptid into refactor
2 parents 6a60981 + fd79d9a commit e823346

File tree

9 files changed

+3776
-3759
lines changed

9 files changed

+3776
-3759
lines changed

.github/workflows/pull_request.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,20 @@ jobs:
1414
steps:
1515
- name: Check out code
1616
uses: actions/checkout@v4
17+
with:
18+
token: ${{ secrets.GITHUB_TOKEN }}
1719

1820
- name: Run stylua
1921
uses: JohnnyMorganz/stylua-action@v4
2022
with:
2123
token: ${{ secrets.GITHUB_TOKEN }}
2224
version: latest
23-
# CLI arguments
24-
args: --check .
25+
args: .
26+
27+
- name: Commit changes
28+
run: |
29+
git config --global user.name "jolly[bot]"
30+
git config --global user.email "jolly[bot]@users.noreply.github.com"
31+
git add .
32+
git diff --cached --quiet || git commit -m "jolly-bot: auto-format Lua files using Stylua"
33+
git push

0 commit comments

Comments
 (0)