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
This commit is contained in:
Jessica Clarke 2023-03-16 16:47:07 +00:00
parent 5da8f30d63
commit 2be973e9d8

View File

@ -12,6 +12,7 @@ on:
jobs: jobs:
auto-subscribe: auto-subscribe:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'llvm/llvm-project'
steps: steps:
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with: