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:
parent
5da8f30d63
commit
2be973e9d8
1
.github/workflows/llvm-bugs.yml
vendored
1
.github/workflows/llvm-bugs.yml
vendored
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user