1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Add if to only run labler on lens own repo but not fork

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
Hung-Han (Henry) Chen 2020-11-04 15:41:50 +08:00
parent 0497947159
commit 0cf78a7f51
No known key found for this signature in database
GPG Key ID: 32931168425E1C95

View File

@ -1,7 +1,7 @@
---
name: "Pull Request Labeler"
'on':
on:
- pull_request
jobs:
@ -9,6 +9,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
if: github.repository == 'lensapp/lens'
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler-config.yml