diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2024-01-12 15:36:45 -0500 |
---|---|---|
committer | nat-goodspeed <nat@lindenlab.com> | 2024-01-12 17:26:46 -0500 |
commit | e2ba2f9c453d4e913b0deb5dfee2a07c55034655 (patch) | |
tree | d0e75d1fc20c6dc7678ad82d890256c372a95289 /.github | |
parent | 0730681b8a419d0122a20cc1fe7e520386d0836b (diff) |
Move "team:viewer" label action to labeler.yaml.
This avoids the need for a separate job step.
Diffstat (limited to '.github')
-rw-r--r-- | .github/labeler.yaml | 3 | ||||
-rw-r--r-- | .github/workflows/label.yaml | 15 |
2 files changed, 3 insertions, 15 deletions
diff --git a/.github/labeler.yaml b/.github/labeler.yaml index d31a361baf..6e03801b65 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 e19477a533..6e41d8aa2d 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" |