chore: skip PR triage for already triaged or Google-contributor PRs

The `agent-triage-pull-request` job will now only run if the pull request does not have the 'bot triaged' or 'google-contributor' labels, avoiding redundant and unnecessary triage actions.

PiperOrigin-RevId: 804732073
This commit is contained in:
Xuan Yang
2025-09-08 22:19:43 -07:00
committed by Copybara-Service
parent fa55354a1a
commit 78eea1aa55
+1
View File
@@ -6,6 +6,7 @@ on:
jobs:
agent-triage-pull-request:
if: "!contains(github.event.pull_request.labels.*.name, 'bot triaged') && !contains(github.event.pull_request.labels.*.name, 'google-contributor')"
runs-on: ubuntu-latest
permissions:
pull-requests: write