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 committed 2020-11-04 16:18:17 +08:00
1 parent 0497947159
commit 0cf78a7f51
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