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: paths-ignore:
- '.github/**' - '.github/**'
- '!.github/workflows/**' - '!.github/workflows/ci.yml'
- '.travis.yml' - '.travis.yml'
- '.gitignore' - '.gitignore'
- 'docs/**' - 'docs/**'

View file

@ -13,11 +13,12 @@ jobs:
uses: actions/stale@v3 uses: actions/stale@v3
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} 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-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-pr-message: 'Stale pull request message' stale-issue-label: 'stale'
stale-issue-label: 'no-activity' exempt-issue-labels: 'pending, in progress'
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: 'no-activity' stale-pr-label: 'stale'
exempt-pr-labels: 'pending,in-progress' exempt-pr-labels: 'pending, in progress'
days-before-stale: ${{ env.DAYS_TO_STALE }} days-before-stale: ${{ env.DAYS_TO_STALE }}
days-before-close: ${{ env.DAYS_TO_CLOSE }} days-before-close: ${{ env.DAYS_TO_CLOSE }}
# debug-only: true