-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update and rename stale.yml to defaultLabels.yml (#153)
- Loading branch information
1 parent
a98be40
commit f427bd4
Showing
2 changed files
with
45 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: setting-default-labels | ||
|
||
# Controls when the action will run. | ||
on: | ||
schedule: | ||
- cron: "0 0/3 * * *" | ||
|
||
# A workflow run is made up of one or more jobs that can run sequentially or in parallel | ||
jobs: | ||
build: | ||
# The type of runner that the job will run on | ||
runs-on: ubuntu-latest | ||
|
||
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- uses: actions/stale@v3 | ||
name: Default issue label as need-to-triage | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue is marked need-to-triage for generating issues report.' | ||
stale-issue-label: 'need-to-triage' | ||
days-before-stale: 0 | ||
days-before-close: -1 | ||
operations-per-run: 100 | ||
|
||
- uses: actions/stale@v3 | ||
name: Setting issue as idle | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-issue-message: 'This issue is idle because it has been open for 14 days with no activity.' | ||
stale-issue-label: 'idle' | ||
days-before-stale: 14 | ||
days-before-close: -1 | ||
operations-per-run: 100 | ||
exempt-issue-labels: 'backlog' | ||
|
||
- uses: actions/stale@v3 | ||
name: Setting PR as idle | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
stale-pr-message: 'This PR is idle because it has been open for 14 days with no activity.' | ||
stale-pr-label: 'idle' | ||
days-before-stale: 14 | ||
days-before-close: -1 | ||
operations-per-run: 100 |
This file was deleted.
Oops, something went wrong.