GAM-team / got-your-back

Got Your Back (GYB) is a command line tool for backing up your Gmail messages to your computer using Gmail's API over HTTPS.
https://github.com/GAM-team/got-your-back/wiki
Apache License 2.0
2.61k stars 206 forks source link

Skip live API tests and Drive upload for forks #307

Closed ribbons closed 3 years ago

ribbons commented 3 years ago

This was merged previously as #304 but I think it might have got lost as part of the switch from master -> main.

The 'Live API tests push only' and 'Upload to Google Drive, build only' steps of the GitHub Actions workflow fail on forks as the PASSCODE and GHCLIENT secrets are unavailable. Add tests for the value of repository_owner on these steps to allow the workflow to complete successfully for forks.