From 1a5273e4d821334cedc22ae981fadb4cf166c21a Mon Sep 17 00:00:00 2001 From: mehmet-erim Date: Fri, 20 Dec 2019 16:17:59 +0300 Subject: [PATCH] chore: update labeler action --- .github/labeler.yml | 3 +++ .github/workflows/labeler.yml | 21 ++++++++------------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 738b727317..2dded9549b 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,4 +1,7 @@ ui-angular: + - npm/ng-packs/* - npm/ng-packs/**/* + - templates/app/angular/* - templates/app/angular/**/* + - templates/module/angular/* - templates/module/angular/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index e70e966d4a..2796d177d1 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,17 +1,12 @@ -name: "Pull Request Labeler" +name: Pull request labeler on: - pull_request: - paths: - - npm/ng-packs/**/* - - templates/app/angular/**/* - - templates/module/angular/**/* - branches: - - master - - dev + schedule: + - cron: '0 */1 * * *' jobs: labeler: - runs-on: ubuntu-18.04 + runs-on: ubuntu-latest steps: - - uses: actions/labeler@v2 - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" + - uses: paulfantom/periodic-labeler@master + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_REPOSITORY: ${{ github.repository }}