summaryrefslogtreecommitdiffstats
path: root/.github/workflows/labeler.yml
blob: a1e3b52feed521c7f70f631f3ceb0d0256e6d86d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
# Handles labelling of PR's.
name: Pull Request Labeler
on:
  pull_request_target: null
concurrency:
  group: pr-label-${{ github.repository_id }}-${{ github.event.pull_request.number }}
  cancel-in-progress: true
jobs:
  labeler:
    name: Apply PR Labels
    runs-on: ubuntu-latest
    permissions:
      contents: read
      pull-requests: write
    steps:
      - uses: actions/labeler@v4
        if: github.repository == 'netdata/netdata'
        with:
          repo-token: "${{ secrets.GITHUB_TOKEN }}"
          sync-labels: true