mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-12 10:04:14 +02:00
8e849ae85d
It also makes sense to lock old PRs. They can be manually unlocked if they are needed for some reason. Also add output logging to make it easier to determine if thread locking is completing.
29 lines
532 B
YAML
29 lines
532 B
YAML
# Configuration documentation at https://github.com/dessant/lock-threads
|
|
|
|
name: 'lock-thread'
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '37 7 * * 0'
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
issues: write
|
|
|
|
concurrency:
|
|
group: lock
|
|
|
|
jobs:
|
|
action:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: dessant/lock-threads@v3
|
|
with:
|
|
issue-inactive-days: '90'
|
|
issue-comment: ''
|
|
issue-lock-reason: ''
|
|
pr-inactive-days: '90'
|
|
pr-comment: ''
|
|
pr-lock-reason: ''
|
|
log-output: true
|