every 12 hours stale and close issues with area packages only (#1129)
This commit is contained in:
Родитель
a05f29915a
Коммит
effbefe7bc
|
@ -1,35 +0,0 @@
|
|||
daysUntilStale: 1
|
||||
|
||||
daysUntilClose: 1
|
||||
|
||||
# Only issues or pull requests with all of these labels are check if stale. Defaults to `[]` (disabled)
|
||||
onlyLabels:
|
||||
- "Area: Packages"
|
||||
|
||||
# Issues or Pull Requests with these labels will never be considered stale. Set to `[]` to disable
|
||||
exemptLabels: []
|
||||
|
||||
# Set to true to ignore issues in a project (defaults to false)
|
||||
exemptProjects: false
|
||||
|
||||
# Set to true to ignore issues in a milestone (defaults to false)
|
||||
exemptMilestones: false
|
||||
|
||||
# Set to true to ignore issues with an assignee (defaults to false)
|
||||
exemptAssignees: false
|
||||
|
||||
# Label to use when marking as stale
|
||||
staleLabel: redirect-to-dev-community
|
||||
|
||||
# Comment to post when marking as stale. Set to `false` to disable
|
||||
markComment: >
|
||||
In order to consolidate to fewer feedback channels, we've moved suggestions and
|
||||
issue reporting to [Developer Community](https://developercommunity.visualstudio.com/spaces/21/index.html).
|
||||
|
||||
limitPerRun: 30
|
||||
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: false
|
||||
|
||||
# Limit to only `issues` or `pulls`
|
||||
only: issues
|
|
@ -0,0 +1,25 @@
|
|||
name: Mark stale issues
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 */12 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
env:
|
||||
ACTIONS_STEP_DEBUG: true
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: "In order to consolidate to fewer feedback channels, we've moved suggestions and issue reporting to [Developer Community](https://developercommunity.visualstudio.com/spaces/21/index.html)."
|
||||
stale-issue-label: 'redirect-to-dev-community'
|
||||
days-before-stale: 1
|
||||
days-before-close: 1
|
||||
days-before-pr-close: -1
|
||||
any-of-issue-labels: "Area: Packages"
|
||||
operations-per-run: 30
|
||||
enable-statistics: true
|
Загрузка…
Ссылка в новой задаче