github-action/ofborg: only run in main repo

This commit is contained in:
Jörg Thalheim 2020-07-28 14:49:15 +01:00
parent 83f41b7ff0
commit 88c60d97fc
No known key found for this signature in database
GPG key ID: 003F2096411B5F92

View file

@ -22,6 +22,8 @@ jobs:
done
echo "Timeout!"
exit 1
# ofborg is not checking forks.
if: github.repository_owner == 'NixOS'
env:
GITHUB_TOKEN: ${{ github.token }}
COMMIT: ${{ github.event.pull_request.head.sha }}