Merge pull request #19700 from cevich/remove_lock_test

[CI:DOCS] Revert "GHA: Closed issue/PR comment-lock test"
This commit is contained in:
OpenShift Merge Robot
2023-08-22 17:37:04 -02:30
committed by GitHub

View File

@ -32,7 +32,7 @@ env:
# Number of days befor a closed issue/PR is be comment-locked. # Number of days befor a closed issue/PR is be comment-locked.
# Note: dessant/lock-threads will only process a max. of # Note: dessant/lock-threads will only process a max. of
# 50 issues/PRs at a time. # 50 issues/PRs at a time.
CLOSED_DAYS: 1825 CLOSED_DAYS: 90
# Pre-created issue/PR label to add (preferrably a bright color). # Pre-created issue/PR label to add (preferrably a bright color).
# This is intended to direct a would-be commenter's actions. # This is intended to direct a would-be commenter's actions.
LOCKED_LABEL: 'locked - please file new issue/PR' LOCKED_LABEL: 'locked - please file new issue/PR'
@ -54,10 +54,6 @@ jobs:
add-pr-labels: '${{env.LOCKED_LABEL}}' add-pr-labels: '${{env.LOCKED_LABEL}}'
pr-lock-reason: 'resolved' pr-lock-reason: 'resolved'
log-output: true log-output: true
# Test the failure-notification step functions on failure
- run: |
echo "::warning::Initiating job test-failure to prompt a human to verify this is working and some issues/PRs were locked."
false
- if: failure() - if: failure()
name: Send job failure notification e-mail name: Send job failure notification e-mail
uses: dawidd6/action-send-mail@v3.8.0 uses: dawidd6/action-send-mail@v3.8.0
@ -69,7 +65,4 @@ jobs:
subject: Github workflow error on ${{github.repository}} subject: Github workflow error on ${{github.repository}}
to: rh.container.bot@gmail.com,podman-monitor@lists.podman.io to: rh.container.bot@gmail.com,podman-monitor@lists.podman.io
from: ${{secrets.ACTION_MAIL_SENDER}} from: ${{secrets.ACTION_MAIL_SENDER}}
body: | body: "Job failed: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
Job test-failed - https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
Please verify some issues/PRs were locked, then revert the commit which added this check.