From d0dc6fda4879c609325dcb94bd5db11f1f0ca13f Mon Sep 17 00:00:00 2001 From: Akshay Nair Date: Tue, 5 Jan 2021 20:12:56 +0530 Subject: [PATCH] Moves label job to scheduled workflow --- .github/workflows/checks.yml | 7 ------- .github/workflows/label.yml | 13 +++++++++++++ 2 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/label.yml diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 8eaf0c692..d24b31ca4 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -17,10 +17,3 @@ jobs: uses: borales/actions-yarn@v2.0.0 with: cmd: test - label: - runs-on: ubuntu-latest - steps: - - name: Labelling pull request - uses: actions/labeler@main - with: - repo-token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 000000000..4427f98c7 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,13 @@ +name: Label +on: + schedule: + - cron: "0 * * * *" + +jobs: + label: + runs-on: ubuntu-latest + steps: + - name: Labelling pull request + uses: actions/labeler@main + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}"