summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Batashev <alexander.batashev@intel.com>2021-12-14 20:01:52 +0300
committerAnton Korobeynikov <anton@korobeynikov.info>2021-12-14 20:02:54 +0300
commit84f2ef2f29535b5acc889dad61a707ea19450318 (patch)
tree4d5a927759d65bb0c17a707ae2349cf0f0f2d5df
parentdd245bab9fbb364faa1581e4f92ba3119a872fba (diff)
downloadllvm-84f2ef2f29535b5acc889dad61a707ea19450318.tar.gz
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
-rw-r--r--.github/workflows/new-issues.yml1
1 files changed, 1 insertions, 0 deletions
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: