[PATCH] D115708: Disable issue labeler in LLVM forks

Alexander Batashev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 14 01:34:30 PST 2021


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

LLVM forks may use GitHub Actions as well as the upstream projects,
but they do not necessarily follow the same development processes.
Disable automatic issue labeling for forks, so that it does not
interfere with downstream repo automation.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115708

Files:
  .github/workflows/new-issues.yml


Index: .github/workflows/new-issues.yml
===================================================================
--- .github/workflows/new-issues.yml
+++ .github/workflows/new-issues.yml
@@ -6,6 +6,7 @@
 jobs:
   automate-issues-labels:
     runs-on: ubuntu-latest
+    if: github.repository == 'llvm/llvm-project'
     steps:
       - uses: andymckay/labeler at 1.0.4
         with:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115708.394180.patch
Type: text/x-patch
Size: 376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211214/a8fb06e2/attachment.bin>


More information about the llvm-commits mailing list