-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7734 from declanvk/periodic-label-pr
Switch Auto-Labeler to Periodic Labeler
- Loading branch information
Showing
1 changed file
with
10 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |