Skip to content

Commit dc267fa

Browse files
authored
Update workflow file (#2346)
1 parent 65f4b75 commit dc267fa

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/conference-sync.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@ jobs:
1111
contents: write
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@v5
15+
with:
16+
ref: source
1517

1618
- name: Sync conference data from Sched
17-
run: |
18-
tsx scripts/sync-sched/sync.ts --year 2026
19+
run: pnpm exec tsx scripts/sync-sched/sync.ts --year 2026
1920
env:
2021
SCHED_ACCESS_TOKEN_2026: ${{ secrets.SCHED_ACCESS_TOKEN_2026 }}
2122

2223
- name: Commit changes
23-
uses: stefanzweifel/git-auto-commit-action@v5
24+
uses: planetscale/ghcommit-action@v0.1.6
2425
with:
2526
file_pattern: "scripts/sync-sched/*.json"
2627
commit_message: "Sync conference data from Sched"
28+
repo: ${{ github.repository }}
29+
branch: source
30+
empty: false
31+
env:
32+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 commit comments

Comments
 (0)