diff --git a/.github/workflows/update_report_snapshot.yaml b/.github/workflows/update_report_snapshot.yaml index adca44ce..de449c6d 100644 --- a/.github/workflows/update_report_snapshot.yaml +++ b/.github/workflows/update_report_snapshot.yaml @@ -1,6 +1,8 @@ name: Update Report Snapshot on: + push: + branches: [feat/338_WeeklyReportScript] workflow_dispatch: schedule: - cron: '0 0 * * 1' @@ -15,7 +17,7 @@ jobs: - name: report:update run: | yarn install - yarn report:update + yarn workspace @magickbase-website/scripts report:update git add packages/scripts/snapshots - name: Set GPG @@ -32,5 +34,5 @@ jobs: title: Update Report Snapshot commit-message: 'feat: update report snapshot' body: 'After this PR is merged, a corresponding discussion will be automatically created' - committer: Chen Yu + committer: WhiteMind branch: update-report-snapshot