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 repository forks #304

Closed ribbons closed 3 years ago

ribbons commented 3 years ago

The 'Live API tests push only' and 'Upload to Google Drive, build only' steps of the GitHub Actions workflow fail for forks as the PASSCODE and GHCLIENT secrets are unavailable.

This PR adds tests for the value of repository_owner on these steps to allow the workflow to complete successfully in forks.