From bde042df3df329c7450ac4c915a74f25c6f3f8f1 Mon Sep 17 00:00:00 2001 From: AramJonghu Date: Thu, 21 May 2026 21:35:15 +0200 Subject: [PATCH] forgejo runner update, no write permission --- .forgejo/workflows/format.yml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/format.yml b/.forgejo/workflows/format.yml index 926399f..e842e16 100644 --- a/.forgejo/workflows/format.yml +++ b/.forgejo/workflows/format.yml @@ -20,14 +20,6 @@ jobs: working-directory: frontend run: npm install - - name: Run Prettier + - name: Run Prettier check working-directory: frontend - run: npx prettier --write . - - - name: Commit changes - run: | - git config user.name "forgejo-bot" - git config user.email "forgejo-bot@local" - git add frontend - git diff --cached --quiet || git commit -m "chore: format frontend with prettier" - git push + run: npx prettier --check .