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 (#1221)
Signed-off-by: Hung-Han (Henry) Chen <1474479+chenhunghan@users.noreply.github.com>
This commit is contained in:
parent
d7c7593c0d
commit
88a550fbda
3
.github/workflows/labeler.yml
vendored
3
.github/workflows/labeler.yml
vendored
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user