From d1963af96411807942afd14a33023f30d12742b3 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 6 Jun 2020 03:19:24 +0800 Subject: [PATCH] Update workflow. --- .github/workflows/ci.yml | 2 +- .github/workflows/issues-cleaner.yml | 13 +++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 40fef08..0035b60 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,7 +7,7 @@ on: - '*' paths-ignore: - '.github/**' - - '!.github/workflows/**' + - '!.github/workflows/ci.yml' - '.travis.yml' - '.gitignore' - 'docs/**' diff --git a/.github/workflows/issues-cleaner.yml b/.github/workflows/issues-cleaner.yml index db61052..de4c5c9 100644 --- a/.github/workflows/issues-cleaner.yml +++ b/.github/workflows/issues-cleaner.yml @@ -13,11 +13,12 @@ jobs: uses: actions/stale@v3 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - stale-issue-message: 'This issue is stale because it has been open ${{ env.DAYS_TO_STALE }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.DAYS_TO_STALE }} days' - stale-pr-message: 'Stale pull request message' - stale-issue-label: 'no-activity' - exempt-issue-labels: 'pending,in-progress' - stale-pr-label: 'no-activity' - exempt-pr-labels: 'pending,in-progress' + stale-issue-message: 'This issue is stale because it has been open ${{ env.DAYS_TO_STALE }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.DAYS_TO_CLOSE }} days' + stale-issue-label: 'stale' + exempt-issue-labels: 'pending, in progress' + stale-pr-message: 'This PR is stale because it has been open ${{ env.DAYS_TO_STALE }} days with no activity. Remove stale label or comment or this will be closed in ${{ env.DAYS_TO_CLOSE }} days' + stale-pr-label: 'stale' + exempt-pr-labels: 'pending, in progress' days-before-stale: ${{ env.DAYS_TO_STALE }} days-before-close: ${{ env.DAYS_TO_CLOSE }} + # debug-only: true