From df3458f002be8c433c4279d6ffe88f34ebebe1e1 Mon Sep 17 00:00:00 2001 From: Naomi Carrigan Date: Thu, 9 Nov 2023 21:21:50 -0800 Subject: [PATCH] fix(tools): handle when user is not in team (#52310) --- .github/workflows/github-no-web-commits.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-no-web-commits.yml b/.github/workflows/github-no-web-commits.yml index ca4a040f738..77ba1f31b91 100644 --- a/.github/workflows/github-no-web-commits.yml +++ b/.github/workflows/github-no-web-commits.yml @@ -32,7 +32,7 @@ jobs: org: context.repo.owner, team_slug: team, username: prAuthor - }); + }).catch(() => ({status: 404}))); if (response.status == 200) { isAllowListed = true; break;