From 0a9fc5b16516f22a102a5a83f172729add2e4294 Mon Sep 17 00:00:00 2001 From: Kartik Pradeepan Date: Wed, 4 Feb 2026 13:43:22 -0500 Subject: [PATCH] evvanErb plugin deprecated. Use gh api for this --- .github/workflows/user_notification_system.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/user_notification_system.yml b/.github/workflows/user_notification_system.yml index f48260110..36cadc5fd 100644 --- a/.github/workflows/user_notification_system.yml +++ b/.github/workflows/user_notification_system.yml @@ -63,11 +63,12 @@ jobs: - name: Find PR author email for non-web submissions if: ${{ !inputs.is_automerge_web }} - uses: evvanErb/get-github-email-by-username-action@v2.0 id: getemail - with: - github-username: ${{inputs.pr_username}} - token: ${{ secrets.GITHUB_TOKEN }} # Including token enables most reliable way to get a user's email + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + EMAIL=$(gh api users/${{ inputs.pr_username }} --jq '.email // empty') + echo "email=$EMAIL" >> $GITHUB_OUTPUT - name: Update email for non-web submissions if: ${{ !inputs.is_automerge_web }}