summaryrefslogtreecommitdiff
path: root/.github/workflows/llvm-bugs.yml
diff options
context:
space:
mode:
authorJessica Clarke <jrtc27@jrtc27.com>2023-03-16 16:47:07 +0000
committerJessica Clarke <jrtc27@jrtc27.com>2023-03-16 16:47:07 +0000
commit2be973e9d80b2680fc36ce7ed11461ffe3e6c7f5 (patch)
treecd1e3c73c9e953a4fdda1eeb790b152e60fd4073 /.github/workflows/llvm-bugs.yml
parent5da8f30d6382d4692cfe5b8e18851eea2095bacc (diff)
downloadllvm-2be973e9d80b2680fc36ce7ed11461ffe3e6c7f5.tar.gz
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
Diffstat (limited to '.github/workflows/llvm-bugs.yml')
-rw-r--r--.github/workflows/llvm-bugs.yml1
1 files changed, 1 insertions, 0 deletions
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: