Skip to content

Commit 566655e

Browse files
committed
Add workflow to sync upstream master daily
Automatically syncs Teradata/trino master with trinodb/trino master on a daily schedule. Can also be triggered manually from GitHub UI.
1 parent f75a25a commit 566655e

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Sync upstream master
2+
3+
on:
4+
schedule:
5+
- cron: '0 6 * * *' # Runs daily at 6 AM UTC
6+
workflow_dispatch: # Allow manual trigger from GitHub UI
7+
8+
jobs:
9+
sync:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Sync fork with upstream
13+
run: |
14+
gh api repos/Teradata/trino/merge-upstream -f branch=master
15+
env:
16+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)