github-action/ofborg: only run in main repo
This commit is contained in:
parent
83f41b7ff0
commit
88c60d97fc
1 changed files with 2 additions and 0 deletions
2
.github/workflows/wait-ofborg.yml
vendored
2
.github/workflows/wait-ofborg.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in a new issue