Closed sl1mpshady closed 8 months ago
How to make the checks pass?
Run PERCENTAGE=$((( $TOTAL ) * 100 / ( $TOTAL_MAX - ${MAX_PANA_MISSING_POINTS:-10} )))
PERCENTAGE=$((( $TOTAL ) * 100 / ( $TOTAL_MAX - ${MAX_PANA_MISSING_POINTS:-10} )))
if (( $PERCENTAGE < 100 ))
then
echo "Score to low ($TOTAL/$TOTAL_MAX)."
exit 1
fi
shell: /usr/bin/bash -e {0}
env:
TOTAL: 1[2](https://github.com/nhost/nhost-dart/actions/runs/7671882054/job/21057417995?pr=131#step:6:2)0
TOTAL_MAX: 1[4](https://github.com/nhost/nhost-dart/actions/runs/7671882054/job/21057417995?pr=131#step:6:4)0
Score to low ([12](https://github.com/nhost/nhost-dart/actions/runs/7671882054/job/21057417995?pr=131#step:6:13)0/140).
Error: Process completed with exit code 1.
Added metadata and also modified the function to set the session after api call. @dbarrosop
Added this PR with regards to https://github.com/nhost/hasura-auth/blob/main/src/routes/signin/anonymous.ts that allows user to send displayName and locale to override the default "Anonymous User". Also, session should be set after signing in.