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