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 4766dd2 commit 408daa5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/verifyAudit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,20 +139,24 @@ jobs:
if: env.AUDIT_REQUIRED == 'true'
run: |
echo "A"
# load list of protected contracts
PROTECTED_CONTRACTS=$(cat protected_contracts.txt)
echo "B"
# create temp files to store commit hashes and auditor handles
COMMIT_HASHES_FILE="commit_hashes.txt"
AUDITOR_GIT_HANDLES_FILE="auditor_handles.txt"
echo "C"
##### make sure that there are any protected contracts
if [[ -z $PROTECTED_CONTRACTS ]]; then
echo -e "\033[31mNo protected contracts found. This should not happen (action should stop earlier). Please check the code of the Github action. Aborting now.\033[0m"
echo "CONTINUE=false" >> $GITHUB_ENV
exit 1
fi
echo "D"
# iterate through all contracts
while IFS= read -r FILE; do
# load contract version
Expand Down Expand Up @@ -195,6 +199,7 @@ jobs:
echo "CONTINUE=false" >> $GITHUB_ENV
exit 1
fi
echo "D"
# make sure that audit log entry contains auditor's (company) name
if [ -z "$AUDITED_BY" ]; then
Expand Down

0 comments on commit 408daa5

Please sign in to comment.