mirror of
https://git.aramjonghu.nl/AramJonghu/aramjonghu-site.git
synced 2026-06-07 20:58:25 +02:00
forgejo runner update, no write permission
This commit is contained in:
@@ -20,14 +20,6 @@ jobs:
|
|||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
run: npm install
|
run: npm install
|
||||||
|
|
||||||
- name: Run Prettier
|
- name: Run Prettier check
|
||||||
working-directory: frontend
|
working-directory: frontend
|
||||||
run: npx prettier --write .
|
run: npx prettier --check .
|
||||||
|
|
||||||
- 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
|
|
||||||
|
|||||||
Reference in New Issue
Block a user