diff --git a/.github/labeler.yaml b/.github/labeler.yaml index d31a361baf2212b092bc7dca01ccf0f0e0b20ce4..6e03801b65a7a3a0e14fb334ddfe607b47e8d5ca 100644 --- a/.github/labeler.yaml +++ b/.github/labeler.yaml @@ -76,3 +76,6 @@ c/cpp: - '**/*.i' - '**/*.inl' - '**/*.y' + +'team:viewer': + - '*' diff --git a/.github/workflows/label.yaml b/.github/workflows/label.yaml index e19477a533be32aa8433ba406bcab244c8b9e9a9..6e41d8aa2d808e5edd3e99bc67067ba5353b7b69 100644 --- a/.github/workflows/label.yaml +++ b/.github/workflows/label.yaml @@ -13,18 +13,3 @@ jobs: with: configuration-path: .github/labeler.yaml repo-token: "${{ secrets.GITHUB_TOKEN }}" - - label-pr: - if: - ${{ github.event_name == 'opened' && - github.event.pull_request.head.repo.owner.login == 'secondlife' }} - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - run: gh pr edit "$NUMBER" --add-label "$LABELS" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} - GH_REPO: ${{ github.repository }} - NUMBER: ${{ github.event.pull_request.number }} - LABELS: "team:viewer"