From 17c44a053db48192ceb4141fce069319654d9d09 Mon Sep 17 00:00:00 2001 From: Erez Rokah Date: Wed, 20 May 2020 11:56:47 +0300 Subject: [PATCH] ci: disable labeler on forked PRs (#3789) --- .github/workflows/labeler.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index fcfab0a4..628c7d9c 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -5,6 +5,7 @@ on: jobs: label-pr: + if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == false runs-on: ubuntu-latest steps: - uses: erezrokah/pr-labeler-action@v1.0.0