mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 04:22:33 +08:00
workflow: 优化提交前pull更改,防止工作流并发下无法提交
This commit is contained in:
5
.github/workflows/l10n.yml
vendored
5
.github/workflows/l10n.yml
vendored
@@ -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:
|
||||
|
||||
1
.github/workflows/mockery.yml
vendored
1
.github/workflows/mockery.yml
vendored
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user