From ad88c8dbb6bb449874f69de6808c6942bfd6418e Mon Sep 17 00:00:00 2001 From: Khang Vu Date: Tue, 3 Mar 2026 12:12:05 -0800 Subject: [PATCH 1/2] initial check in to trigger during testing --- .github/workflows/upstream-sync.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/upstream-sync.yml diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml new file mode 100644 index 000000000..b87ad0936 --- /dev/null +++ b/.github/workflows/upstream-sync.yml @@ -0,0 +1,22 @@ +name: Upstream Per-PR Sync + +on: + schedule: + - cron: '0 6 * * 1' # Weekly on Monday at 06:00 UTC + workflow_dispatch: # Allow manual trigger + +jobs: + sync-prebid: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + + steps: + # ── 0. Generate GitHub App token ────────────────────────────────────── + - name: Generate GitHub App token + id: app_token + uses: actions/create-github-app-token@v1 + with: + app-id: ${{ secrets.SYNC_APP_ID }} + private-key: ${{ secrets.SYNC_APP_PRIVATE_KEY }} \ No newline at end of file From c7246e435e8232e5abde62a49d0ecd42cc4d299f Mon Sep 17 00:00:00 2001 From: Khang Vu Date: Tue, 3 Mar 2026 12:13:23 -0800 Subject: [PATCH 2/2] rename workflow --- .github/workflows/upstream-sync.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/upstream-sync.yml b/.github/workflows/upstream-sync.yml index b87ad0936..bf636b19d 100644 --- a/.github/workflows/upstream-sync.yml +++ b/.github/workflows/upstream-sync.yml @@ -1,4 +1,4 @@ -name: Upstream Per-PR Sync +name: Upstream Sync on: schedule: