summaryrefslogtreecommitdiff
path: root/.github/workflows/label.yml
blob: 616463c273bc23283a6bd802d6b2d916d22286aa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Automatically labels PRs based on the configuration file
# you are probably looking for 👉 `.github/labeler.yml`
name: Label PRs

on:
  - pull_request_target

jobs:
  triage:
    runs-on: ubuntu-latest
    if: github.repository_owner == 'withastro'
    steps:
    - uses: actions/labeler@v4
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"
        sync-labels: true