Skip to content

Commit 398ba92

Browse files
author
Jiahong Wen
authored
Update github action stale for packaging (#14880)
* Every 3 hours run github action stale for packaging labels only by labeling it to redirect-to-dev-community * Add ws at EOF
1 parent dda25f8 commit 398ba92

File tree

2 files changed

+18
-37
lines changed

2 files changed

+18
-37
lines changed

.github/stale.yml

Lines changed: 0 additions & 35 deletions
This file was deleted.

.github/workflows/stale.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,7 @@ on:
66

77
jobs:
88
stale:
9-
109
runs-on: ubuntu-latest
11-
1210
steps:
1311
- uses: actions/stale@v3
1412
with:
@@ -22,3 +20,21 @@ jobs:
2220
operations-per-run: 100
2321
exempt-issue-labels: 'backlog'
2422
remove-stale-when-updated: true
23+
stalePackaging:
24+
runs-on: ubuntu-latest
25+
permissions:
26+
issues: write
27+
steps:
28+
- uses: actions/stale@v3
29+
env:
30+
ACTIONS_STEP_DEBUG: true
31+
with:
32+
repo-token: ${{ secrets.GITHUB_TOKEN }}
33+
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)."
34+
stale-issue-label: 'redirect-to-dev-community'
35+
days-before-stale: 1
36+
days-before-close: 1
37+
days-before-pr-close: -1
38+
any-of-issue-labels: "Area: ArtifactsPackages"
39+
operations-per-run: 30
40+
enable-statistics: true

0 commit comments

Comments
 (0)