diff options
author | Adin Scannell <ascannell@google.com> | 2020-05-01 17:48:36 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-05-01 17:50:07 -0700 |
commit | 89562b5b2bb186a3bc61412590a25d77f5d8f3e2 (patch) | |
tree | 468a3f8094eca53e57d6d3f6b1d6c23546eba855 | |
parent | 40d6aae1220292985a85ee03248ad5781edb4c80 (diff) |
Run labeller only for non-forked pull requests.
Otherwise the labeller will generate an error each time.
PiperOrigin-RevId: 309505731
-rw-r--r-- | .github/workflows/labeler.yml | 1 |
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 }}" |