fix(ci): drop the pull_request_review trigger so the auto-merge workflow only runs from main

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
kerry 2026-09-17 00:11:31 +00:00
parent a3d3fe4ada
commit 9e84d8a9c0

View file

@ -1,8 +1,6 @@
name: auto-merge-price-sync
on:
pull_request_review:
types: [submitted]
issue_comment:
types: [created, edited]
check_suite:
@ -56,7 +54,7 @@ jobs:
env:
GH_TOKEN: ${{ steps.app-token.outputs.token }}
REPO: ${{ github.repository }}
PR_NUMBER: ${{ github.event.pull_request.number || (github.event.issue.pull_request && github.event.issue.number) || github.event.inputs.pr-number || '' }}
PR_NUMBER: ${{ (github.event.issue.pull_request && github.event.issue.number) || github.event.inputs.pr-number || '' }}
BASE_BRANCH: main
PR_AUTHOR_ALLOWLIST: "berriai-litellm-provider-info-sync[bot]"
SELF_CHECK_NAME: auto-merge-price-sync