From 81b3e029264816260da9e126f03fefdb0b0cfeb8 Mon Sep 17 00:00:00 2001 From: Team 1280 Programming Laptop <59985235+Team1280Programming@users.noreply.github.com> Date: Wed, 14 Feb 2024 16:45:38 -0800 Subject: [PATCH] Fix autocommit in style workflow --- .github/workflows/style.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index f055c56..934596c 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -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"