mirror of
https://github.com/containers/podman.git
synced 2025-07-04 10:10:32 +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
|
# 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:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
@ -38,8 +38,7 @@ env:
|
|||||||
LOCKED_LABEL: 'locked - please file new issue/PR'
|
LOCKED_LABEL: 'locked - please file new issue/PR'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
closed_issue_discussion_lock:
|
manage_locking:
|
||||||
name: "Lock closed Issue/PR discussions"
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
permissions:
|
||||||
issues: write
|
issues: write
|
||||||
@ -48,6 +47,7 @@ jobs:
|
|||||||
# Ref: https://github.com/dessant/lock-threads#usage
|
# Ref: https://github.com/dessant/lock-threads#usage
|
||||||
- uses: dessant/lock-threads@v5
|
- uses: dessant/lock-threads@v5
|
||||||
with:
|
with:
|
||||||
|
process-only: 'issues, prs'
|
||||||
issue-inactive-days: '${{env.CLOSED_DAYS}}'
|
issue-inactive-days: '${{env.CLOSED_DAYS}}'
|
||||||
pr-inactive-days: '${{env.CLOSED_DAYS}}'
|
pr-inactive-days: '${{env.CLOSED_DAYS}}'
|
||||||
add-issue-labels: '${{env.LOCKED_LABEL}}'
|
add-issue-labels: '${{env.LOCKED_LABEL}}'
|
Reference in New Issue
Block a user