Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

ci: trigger bytebase/oncall sync-oncall workflow daily (#20409)

Danny Xub391374eab3b
diff --git a/.github/workflows/trigger-oncall-sync.yml b/.github/workflows/trigger-oncall-sync.yml
new file mode 100644
index 0000000000..e14de3c1cc
--- /dev/null
+++ b/.github/workflows/trigger-oncall-sync.yml
@@ -0,0 +1,22 @@
+name: Trigger oncall sync
+
+on:
+ workflow_dispatch:
+ schedule:
+ # Daily at 00:17 UTC. Hosted here because bytebase/oncall has too little
+ # activity for GitHub to keep its own scheduled workflow alive. The
+ # non-zero minute avoids GitHub Actions' hour-boundary high-load window,
+ # where scheduled jobs can be delayed or dropped.
+ - cron: "17 0 * * *"
+
+permissions:
+ contents: read
+
+jobs:
+ dispatch:
+ runs-on: ubuntu-24.04
+ steps:
+ - name: Trigger sync-oncall workflow on bytebase/oncall
+ env:
+ GH_TOKEN: ${{ secrets.GHA_DISPATCH_TOKEN }}
+ run: gh workflow run sync-oncall.yml --repo bytebase/oncall