summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/labeler.yml
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-05-01 17:48:36 -0700
committergVisor bot <gvisor-bot@google.com>2020-05-01 17:50:07 -0700
commit89562b5b2bb186a3bc61412590a25d77f5d8f3e2 (patch)
tree468a3f8094eca53e57d6d3f6b1d6c23546eba855 /.github/workflows/labeler.yml
parent40d6aae1220292985a85ee03248ad5781edb4c80 (diff)
Run labeller only for non-forked pull requests.
Otherwise the labeller will generate an error each time. PiperOrigin-RevId: 309505731
Diffstat (limited to '.github/workflows/labeler.yml')
-rw-r--r--.github/workflows/labeler.yml1
1 files changed, 1 insertions, 0 deletions
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 }}"