From 88c60d97fc10feef054b2f06e73d2f97de712952 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Tue, 28 Jul 2020 14:49:15 +0100 Subject: [PATCH] github-action/ofborg: only run in main repo --- .github/workflows/wait-ofborg.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/wait-ofborg.yml b/.github/workflows/wait-ofborg.yml index b512c44a348f..3bfe5bc15a48 100644 --- a/.github/workflows/wait-ofborg.yml +++ b/.github/workflows/wait-ofborg.yml @@ -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 }}