Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDEnYO committed Sep 5, 2024
1 parent 9a622dd commit b50fce3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/verifyAudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,11 @@ jobs:
##### Check if the auditor git handle exists on github
echo "now checking if the auditor git handle actually exists"
if gh api users/$GITHUB_USER > /dev/null 2>&1; then
echo -e "\033[32mA user with handle '$GITHUB_USER' exists on GitHub.\033[0m"
echo "now checking if the auditor git handle ($AUDITOR_GIT_HANDLE) actually exists"
if gh api users/$AUDITOR_GIT_HANDLE > /dev/null 2>&1; then
echo -e "\033[32mA user with handle '$AUDITOR_GIT_HANDLE' exists on GitHub.\033[0m"
else
echo -e "\033[31mA user with handle '$GITHUB_USER' does not exist on GitHub.\033[0m"
echo -e "\033[31mA user with handle '$AUDITOR_GIT_HANDLE' does not exist on GitHub.\033[0m"
echo -e "\033[31mPlease fix the audit log before continuing.\033[0m"
echo -e "\033[31mCheck failed.\033[0m"
echo "CONTINUE=false" >> "$GITHUB_ENV"
Expand Down

0 comments on commit b50fce3

Please sign in to comment.