Fix autocommit in style workflow

This commit is contained in:
Team 1280 Programming Laptop 2024-02-14 16:45:38 -08:00
parent 4bbd31bcd3
commit 81b3e02926

View file

@ -1,6 +1,6 @@
name: npm run format
on: [push]
on: [push, manual_dispatch]
jobs:
style:
@ -14,12 +14,14 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: format"
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '20.x'
- run: npm install
- run: npm run format
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: format"