summaryrefslogtreecommitdiffstats
path: root/.github/workflows/labeler.yml
blob: 78150728f39dd16d4f37b468301d6a189a37851d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
# Handles labelling of PR's.
name: Pull Request Labeler
on:
  schedule:
    - cron: '*/5 * * * *'
jobs:
  labeler:
    runs-on: ubuntu-latest
    steps:
      - uses: paulfantom/periodic-labeler@master
        if: github.repository == 'netdata/netdata'
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          GITHUB_REPOSITORY: ${{ github.repository }}
          LABEL_MAPPINGS_FILE: .github/labeler.yml