diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/labeler.yml | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 3a68bd23a5..130d438550 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -2,16 +2,14 @@ # Handles labelling of PR's. name: Pull Request Labeler on: - pull_request: - types: - - opened - - synchronized - - reopened - - ready_for_review + schedule: + - cron: '*/5 * * * *' jobs: labeler: runs-on: ubuntu-latest steps: - - uses: actions/labeler@v2 - with: - repo-token: "${{ secrets.NETDATABOT_TOKEN }}" + - uses: paulfantom/periodic-labeler@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_REPOSITORY: ${{ github.repository }} + LABEL_MAPPINGS_FILE: .github/labeler.yml |