From 2be973e9d80b2680fc36ce7ed11461ffe3e6c7f5 Mon Sep 17 00:00:00 2001 From: Jessica Clarke Date: Thu, 16 Mar 2023 16:47:07 +0000 Subject: [PATCH] workflows: Don't try and run llvm-bugs in forks Most forks won't have an LLVM_BUGS_KEY secret, so Mailgun will error out with a missing key, and if forks do happen to have such a secret then we still don't want to be getting emails to LLVM's mailing lists for downstream forks. Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D146235 --- .github/workflows/llvm-bugs.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/llvm-bugs.yml b/.github/workflows/llvm-bugs.yml index bfa0c9af946d..f592dd6ccd90 100644 --- a/.github/workflows/llvm-bugs.yml +++ b/.github/workflows/llvm-bugs.yml @@ -12,6 +12,7 @@ on: jobs: auto-subscribe: runs-on: ubuntu-latest + if: github.repository == 'llvm/llvm-project' steps: - uses: actions/setup-node@v3 with: