From db69759d84c5bccbc2589fc0f4a753461ef40eb0 Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Tue, 25 Nov 2025 23:49:59 -0800 Subject: [PATCH] ci: cherry-pick to main by default --- .github/workflows/cherry-pick-to-main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/cherry-pick-to-main.yml b/.github/workflows/cherry-pick-to-main.yml index 8712eb5049..f8ed58de70 100644 --- a/.github/workflows/cherry-pick-to-main.yml +++ b/.github/workflows/cherry-pick-to-main.yml @@ -5,7 +5,7 @@ on: # Run every 5 minutes - cron: '*/5 * * * *' workflow_dispatch: - pull_request: + pull_request_target: types: [opened, reopened] branches: - canary @@ -23,7 +23,6 @@ jobs: - name: Add merge-to-main label uses: actions/github-script@v7 with: - github-token: ${{ secrets.PAT_TOKEN }} script: | await github.rest.issues.addLabels({ owner: context.repo.owner,