From 84f2ef2f29535b5acc889dad61a707ea19450318 Mon Sep 17 00:00:00 2001 From: Alexander Batashev Date: Tue, 14 Dec 2021 20:01:52 +0300 Subject: [PATCH] Disable issue labeler in LLVM forks 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. Reviewed By: tstellar Differential Revision: https://reviews.llvm.org/D115708 --- .github/workflows/new-issues.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/new-issues.yml b/.github/workflows/new-issues.yml index 0a5fac50c262..5a8e79ba8874 100644 --- a/.github/workflows/new-issues.yml +++ b/.github/workflows/new-issues.yml @@ -6,6 +6,7 @@ on: jobs: automate-issues-labels: runs-on: ubuntu-latest + if: github.repository == 'llvm/llvm-project' steps: - uses: andymckay/labeler@1.0.4 with: