Add if to only run labler on lens own repo but not fork (#1221)

Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
chh authored and GitHub committed 2020-11-04 15:43:17 +02:00
1 parent d7c7593c0d
commit 88a550fbda
1 file changed
+2 -1
+2 -1
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