mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-09 19:00:53 -04:00
fix(tools): handle when user is not in team (#52310)
This commit is contained in:
2
.github/workflows/github-no-web-commits.yml
vendored
2
.github/workflows/github-no-web-commits.yml
vendored
@@ -32,7 +32,7 @@ jobs:
|
||||
org: context.repo.owner,
|
||||
team_slug: team,
|
||||
username: prAuthor
|
||||
});
|
||||
}).catch(() => ({status: 404})));
|
||||
if (response.status == 200) {
|
||||
isAllowListed = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user