Skip to content

Commit 7bd6086

Browse files
Merge pull request #19700 from cevich/remove_lock_test
[CI:DOCS] Revert "GHA: Closed issue/PR comment-lock test"
2 parents 5e295a9 + 21c9517 commit 7bd6086

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

.github/workflows/discussion_lock.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
# Number of days befor a closed issue/PR is be comment-locked.
3333
# Note: dessant/lock-threads will only process a max. of
3434
# 50 issues/PRs at a time.
35-
CLOSED_DAYS: 1825
35+
CLOSED_DAYS: 90
3636
# Pre-created issue/PR label to add (preferrably a bright color).
3737
# This is intended to direct a would-be commenter's actions.
3838
LOCKED_LABEL: 'locked - please file new issue/PR'
@@ -54,10 +54,6 @@ jobs:
5454
add-pr-labels: '${{env.LOCKED_LABEL}}'
5555
pr-lock-reason: 'resolved'
5656
log-output: true
57-
# Test the failure-notification step functions on failure
58-
- run: |
59-
echo "::warning::Initiating job test-failure to prompt a human to verify this is working and some issues/PRs were locked."
60-
false
6157
- if: failure()
6258
name: Send job failure notification e-mail
6359
uses: dawidd6/[email protected]
@@ -69,7 +65,4 @@ jobs:
6965
subject: Github workflow error on ${{github.repository}}
7066
7167
from: ${{secrets.ACTION_MAIL_SENDER}}
72-
body: |
73-
Job test-failed - https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
74-
75-
Please verify some issues/PRs were locked, then revert the commit which added this check.
68+
body: "Job failed: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"

0 commit comments

Comments
 (0)