Skip to content

Commit 78eea1a

Browse files
xuanyang15copybara-github
authored andcommitted
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
1 parent fa55354 commit 78eea1a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎.github/workflows/pr-triage.yml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66

77
jobs:
88
agent-triage-pull-request:
9+
if: "!contains(github.event.pull_request.labels.*.name, 'bot triaged') && !contains(github.event.pull_request.labels.*.name, 'google-contributor')"
910
runs-on: ubuntu-latest
1011
permissions:
1112
pull-requests: write

0 commit comments

Comments
 (0)