Skip to content

Commit 3dc36b9

Browse files
committed
chore: tweak ci
1 parent bfeab05 commit 3dc36b9

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

.github/workflows/linters.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
with:
2828
ref: ${{ github.event.pull_request.head.ref }}
29+
token: ${{ secrets.GGITHUB_TOKEN }}
2930
- uses: pnpm/action-setup@v4
3031
- uses: actions/setup-node@v4
3132
with:
@@ -35,26 +36,25 @@ jobs:
3536
uses: DimensionDev/github-token-action@latest
3637
with:
3738
registry: true
38-
- run: git config --global url."https://github.com/".insteadOf git@github.com
3939
- run: pnpm install
4040
- run: npx gulp lint-package-json
41-
- uses: EndBug/add-and-commit@v9
42-
with:
43-
message: 'fix: package.json'
4441
- run: npx gulp codegen
4542
- run: pnpm run lingui:extract
4643
- run: pnpm run lingui:compile
47-
- uses: EndBug/add-and-commit@v9
48-
with:
49-
message: 'fix: run codegen'
5044
- run: npx gulp sync-languages
51-
- uses: EndBug/add-and-commit@v9
52-
with:
53-
message: 'fix: run sync-languages'
5445
- run: npx gulp fix-plugins-tsconfig
55-
- uses: EndBug/add-and-commit@v9
56-
with:
57-
message: 'fix: packages/plugins/tsconfig.json'
46+
- name: Commit and Push changes if necessary
47+
run: |
48+
git config --global user.name "github-actions[bot]"
49+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
50+
51+
if [[ $(git status --porcelain) ]]; then
52+
git add ./
53+
git commit -m "chore: code maintenance [bot]"
54+
git push origin
55+
else
56+
echo "No changes to commit."
57+
fi
5858
prettier:
5959
runs-on: ubuntu-latest
6060
permissions:

packages/backup-format/src/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,5 @@ export {
77
generateBackupRAW,
88
} from './normalize/index.js'
99
export { getBackupSummary, type BackupSummary } from './utils/backupPreview.js'
10+
11+

0 commit comments

Comments
 (0)