2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 04:22:33 +08:00

workflow: 优化提交前pull更改,防止工作流并发下无法提交

This commit is contained in:
2025-05-13 22:05:02 +08:00
parent 86c5239569
commit 275bba850a
2 changed files with 5 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ jobs:
- name: Generate pot files
run: |
~/go/bin/xgotext -default backend -pkg-tree ./cmd/web -out ./pkg/embed/locales
git pull
- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit changes
with:
@@ -43,7 +44,9 @@ jobs:
cache-dependency-path: web/pnpm-lock.yaml
- name: Generate pot files and merge po files
working-directory: web
run: pnpm run gettext:extract
run: |
pnpm run gettext:extract
git pull
- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit changes
with:

View File

@@ -21,6 +21,7 @@ jobs:
- name: Generate Mocks
run: |
~/go/bin/mockery
git pull
- uses: stefanzweifel/git-auto-commit-action@v5
name: Commit changes
with: