Skip to content

Commit

Permalink
Merge pull request #7734 from declanvk/periodic-label-pr
Browse files Browse the repository at this point in the history
Switch Auto-Labeler to Periodic Labeler
  • Loading branch information
Steven Silvester committed Jan 3, 2020
2 parents 425fc39 + 3113f78 commit a04f530
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
name: 'Pull Request Labeler'

# This workflow is triggered whenever a PR is opened, changed, or reopened.
on: [pull_request]

name: Pull Request Labeler
# This workflow is supposed to run every 5 minutes
on:
schedule:
- cron: '*/5 * * * *'
jobs:
triage:
name: Update PR Labels
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@v2
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
- uses: paulfantom/periodic-labeler@8c477b324178bda91aeede9a35ece2b8d8813478
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
LABEL_MAPPINGS_FILE: .github/labeler.yml

0 comments on commit a04f530

Please sign in to comment.