Skip to content

Commit

Permalink
fix(github): use periodic-labeler to fix actions/labeler#12
Browse files Browse the repository at this point in the history
  • Loading branch information
STRML committed Nov 20, 2019
1 parent 09f22ff commit ed6d577
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/label.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Labeler
on: [pull_request]

---
name: Pull request labeler
on:
schedule:
- cron: '*/5 * * * *'
jobs:
label:

labeler:
runs-on: ubuntu-latest
# 'if' added due to https://github.com/actions/labeler/issues/12
steps:
- uses: actions/labeler@v2
if: github.repository == 'STRML/react-grid-layout'
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
- uses: paulfantom/periodic-labeler@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
LABEL_MAPPINGS_FILE: .github/labeler.yml

0 comments on commit ed6d577

Please sign in to comment.