Skip to content

Commit 8bec276

Browse files
committed
ci: update issues-stale workflow
1 parent 2a91c16 commit 8bec276

File tree

2 files changed

+24
-24
lines changed

2 files changed

+24
-24
lines changed
Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
name: 'Close stale issues and PRs'
22
permissions:
3-
issues: write
4-
pull-requests: write
3+
issues: write
4+
pull-requests: write
55

66
on:
7-
schedule:
8-
- cron: '30 1 * * *'
7+
# schedule:
8+
# - cron: '30 1 * * *'
99

1010
jobs:
11-
stale:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/stale@v5
15-
with:
16-
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
17-
close-pr-message: 'This PR was closed because it has been stalled for 5 days with no activity.'
18-
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
19-
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
20-
days-before-stale: 30
21-
days-before-close: 5
22-
exempt-issue-labels: 'feature ☘,enhancement ⚙,bug 🐞'
23-
exempt-pr-labels: 'need-help,wip'
24-
operations-per-run: 100
11+
stale:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/stale@v5
15+
with:
16+
stale-pr-message: 'This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
17+
close-pr-message: 'This PR was closed because it has been stalled for 5 days with no activity.'
18+
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.'
19+
close-issue-message: 'This issue was closed because it has been stalled for 5 days with no activity.'
20+
days-before-stale: 30
21+
days-before-close: 5
22+
exempt-issue-labels: 'feature ☘,enhancement ⚙,bug 🐞'
23+
exempt-pr-labels: 'need-help,wip'
24+
operations-per-run: 100

.github/workflows/issues-stale.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ run-name: '🎫 Issues › Stale'
5656

5757
on:
5858
workflow_dispatch:
59-
schedule:
60-
- cron: "0 0 * * *"
59+
# schedule:
60+
# - cron: "0 0 * * *"
6161

6262
# #
6363
# environment variables
@@ -217,9 +217,9 @@ jobs:
217217
218218
# #
219219
# Issues (Stale) › Labels › Create › Verify Existing
220-
#
220+
#
221221
# check if repo has all of the needed issue / pr labels; create label if not exists
222-
#
222+
#
223223
# action needed if using 'pull_request' and 'issue_comment'
224224
# to get the pull request, you would normally use ${{ github.event.number }}
225225
# however this isnt available for 'issue_comment'
@@ -291,7 +291,7 @@ jobs:
291291
292292
# #
293293
# Issues (Stale) › Labels › Assign Missing › Check
294-
#
294+
#
295295
# Check if repo has labels to use
296296
# #
297297

@@ -782,7 +782,7 @@ jobs:
782782
# #
783783
# Stale › Check Condition
784784
# #
785-
785+
786786
- name: >-
787787
💤 Stale › Check Condition
788788
id: task_issues_inactive_stale

0 commit comments

Comments
 (0)