From ee55f61bf288d6f168fa4fd08fc156b931f6e1f4 Mon Sep 17 00:00:00 2001 From: Craig Colegrove Date: Wed, 18 Mar 2026 10:28:49 -0700 Subject: [PATCH] Add reviewer to rust-cargo-update --- .github/workflows/rust-cargo-update.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust-cargo-update.yaml b/.github/workflows/rust-cargo-update.yaml index 15ebfd9..a1ff4a5 100644 --- a/.github/workflows/rust-cargo-update.yaml +++ b/.github/workflows/rust-cargo-update.yaml @@ -46,6 +46,11 @@ jobs: git add -A git commit -m "Update Cargo dependencies" git push -u origin "${BRANCH}" + REVIEWER="${{ github.actor }}" + if [ "${REVIEWER}" = "github-actions[bot]" ] || [ "${REVIEWER}" = "leeroy-travis" ] ; then + REVIEWER="" + fi gh pr create \ --title "Update Cargo dependencies" \ --body "Automated \`cargo update\` run." \ + ${REVIEWER:+--reviewer "$REVIEWER"}