[PATCH] D146235: workflows: Don't try and run llvm-bugs in forks

Jessica Clarke via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 16 09:39:17 PDT 2023


jrtc27 created this revision.
jrtc27 added reviewers: asl, tstellar.
Herald added a project: All.
jrtc27 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D146235

Files:
  .github/workflows/llvm-bugs.yml


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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146235.505845.patch
Type: text/x-patch
Size: 365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230316/3aefcfeb/attachment.bin>


More information about the llvm-commits mailing list