From 89562b5b2bb186a3bc61412590a25d77f5d8f3e2 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Fri, 1 May 2020 17:48:36 -0700 Subject: Run labeller only for non-forked pull requests. Otherwise the labeller will generate an error each time. PiperOrigin-RevId: 309505731 --- .github/workflows/labeler.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.github') diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index b5fd10352..c09f7eb36 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -7,5 +7,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/labeler@v2 + if: github.base_ref == null with: repo-token: "${{ secrets.GITHUB_TOKEN }}" -- cgit v1.2.3