Run labeller only for non-forked pull requests.

Otherwise the labeller will generate an error each time.

PiperOrigin-RevId: 309505731
This commit is contained in:
Adin Scannell 2020-05-01 17:48:36 -07:00 committed by gVisor bot
parent 40d6aae122
commit 89562b5b2b
1 changed files with 1 additions and 0 deletions

View File

@ -7,5 +7,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@v2 - uses: actions/labeler@v2
if: github.base_ref == null
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"