From 6c9beea987a04c1133fb4693f22942b56d610a20 Mon Sep 17 00:00:00 2001 From: "aleksey.pronin" Date: Thu, 8 Aug 2024 15:00:29 +0300 Subject: [PATCH 1/2] MA-17028: add label for ignored issues --- .github/{actions => workflows}/set_label_for_ignored_issues.yml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .github/{actions => workflows}/set_label_for_ignored_issues.yml (100%) diff --git a/.github/actions/set_label_for_ignored_issues.yml b/.github/workflows/set_label_for_ignored_issues.yml similarity index 100% rename from .github/actions/set_label_for_ignored_issues.yml rename to .github/workflows/set_label_for_ignored_issues.yml From cb94923b9364005ce1cc381c1f511eb6cc95f61d Mon Sep 17 00:00:00 2001 From: "aleksey.pronin" Date: Thu, 8 Aug 2024 15:09:45 +0300 Subject: [PATCH 2/2] MA-17028: test --- .github/workflows/set_label_for_ignored_issues.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/set_label_for_ignored_issues.yml b/.github/workflows/set_label_for_ignored_issues.yml index b79f2ff..ee0fef1 100644 --- a/.github/workflows/set_label_for_ignored_issues.yml +++ b/.github/workflows/set_label_for_ignored_issues.yml @@ -1,14 +1,14 @@ name: Set Pay attention label for ignored issues on: schedule: - - cron: '0 11 */2 * *' - - cron: '0 11 */7 * *' + - cron: '*/6 * * * *' + - cron: '*/9 * * * *' jobs: set-label-for-issues: runs-on: ubuntu-latest steps: - name: Set label for issues - if: github.event.schedule == '0 11 */2 * *' + if: github.event.schedule == '*/6 * * * *' uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} @@ -30,7 +30,7 @@ jobs: } } - name: Set label for pull requests - if: github.event.schedule == '0 11 */7 * *' + if: github.event.schedule == '*/9 * * * *' uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }}