mirror of
https://github.com/containers/podman.git
synced 2025-07-01 16:17:06 +08:00
Merge pull request #22304 from cevich/fix_res_inacs_by_int
[skip-ci] GHA: Fix intermittent workflow error
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
# Format ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
|
||||
|
||||
name: "Lock closed Issue/PR discussions"
|
||||
name: "Lock closed issues and PRs"
|
||||
|
||||
on:
|
||||
schedule:
|
||||
@ -38,8 +38,7 @@ env:
|
||||
LOCKED_LABEL: 'locked - please file new issue/PR'
|
||||
|
||||
jobs:
|
||||
closed_issue_discussion_lock:
|
||||
name: "Lock closed Issue/PR discussions"
|
||||
manage_locking:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
issues: write
|
||||
@ -48,6 +47,7 @@ jobs:
|
||||
# Ref: https://github.com/dessant/lock-threads#usage
|
||||
- uses: dessant/lock-threads@v5
|
||||
with:
|
||||
process-only: 'issues, prs'
|
||||
issue-inactive-days: '${{env.CLOSED_DAYS}}'
|
||||
pr-inactive-days: '${{env.CLOSED_DAYS}}'
|
||||
add-issue-labels: '${{env.LOCKED_LABEL}}'
|
Reference in New Issue
Block a user