Update workflow.

This commit is contained in:
Cotes Chung 2020-06-06 03:19:24 +08:00
parent eff2a24f4c
commit d1963af964
2 changed files with 8 additions and 7 deletions

View File

@ -7,7 +7,7 @@ on:
- '*'
paths-ignore:
- '.github/**'
- '!.github/workflows/**'
- '!.github/workflows/ci.yml'
- '.travis.yml'
- '.gitignore'
- 'docs/**'

View File

@ -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