summaryrefslogtreecommitdiffstats
path: root/.github/workflows/labeler.yml
blob: 24842e73d3034074350535341d004f4116c9e86b (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: 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