Estimate the GitHub Runner Hours for the day so far

This commit is contained in:
Lup Yuen Lee 2024-10-22 09:03:33 +08:00
parent 2ece57d43d
commit 5bca117b12

View file

@ -13,6 +13,8 @@ date=$(date -u +'%Y-%m-%d')
hours=$(( 1+$(date -u +'%H') ))
## Set the GitHub Token: export GITHUB_TOKEN=...
## Any Token with Read-Access to NuttX Repo will do:
## "public_repo" (Access public repositories)
. $HOME/github-token.sh
## Accumulate the Job Duration and Extrapolate the Runner Hours