Skip to content

Commit 345ad82

Browse files
committed
run sponsors update daily and merge
1 parent 06bce28 commit 345ad82

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

.github/workflows/syncSponsorsData.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: 'Sync Sponsors Data'
22

33
on:
44
schedule:
5-
# once a week
6-
- cron: '0 0 * * 0'
5+
# daily
6+
- cron: '0 0 * * *'
77
workflow_dispatch:
88

99
jobs:
@@ -29,7 +29,7 @@ jobs:
2929
env:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3131

32-
- run: pnpm format
32+
- run: pnpm prettier src/data -w
3333

3434
# tauri-docs PR
3535
- name: Git config
@@ -38,6 +38,7 @@ jobs:
3838
git config --global user.email "tauri-bot@tauri.app"
3939
4040
- name: Create pull request for updated docs
41+
id: cpr
4142
# soft fork of https://github.com/peter-evans/create-pull-request for security purposes
4243
uses: tauri-apps/create-pull-request@v3.4.1
4344
if: github.event_name != 'pull_request' && github.event_name != 'push'
@@ -47,3 +48,8 @@ jobs:
4748
branch: ci/v2/update-sponsors
4849
title: Update Sponsors Data
4950
labels: 'bot'
51+
52+
- name: Automerge
53+
run: gh pr merge --merge --auto ${{ steps.cpr.outputs.pull-request-number }}
54+
env:
55+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)