diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index aed00b3de2..b57d58e567 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -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