github-action/ofborg: only run in main repo
This commit is contained in:
parent
83f41b7ff0
commit
88c60d97fc
|
@ -22,6 +22,8 @@ jobs:
|
||||||
done
|
done
|
||||||
echo "Timeout!"
|
echo "Timeout!"
|
||||||
exit 1
|
exit 1
|
||||||
|
# ofborg is not checking forks.
|
||||||
|
if: github.repository_owner == 'NixOS'
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ github.token }}
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
COMMIT: ${{ github.event.pull_request.head.sha }}
|
COMMIT: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
Loading…
Reference in New Issue