2021-05-03 01:08:47 -05:00
|
|
|
name: Lock old issues
|
2021-05-02 08:00:40 -05:00
|
|
|
|
|
|
|
on:
|
2021-05-02 08:03:09 -05:00
|
|
|
workflow_dispatch:
|
2021-05-02 08:00:40 -05:00
|
|
|
schedule:
|
2021-05-03 01:08:47 -05:00
|
|
|
- cron: '0 0 * * *'
|
2021-05-02 08:00:40 -05:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
lock:
|
2022-04-07 17:58:30 -05:00
|
|
|
permissions:
|
2023-04-16 23:15:07 -05:00
|
|
|
issues: write
|
|
|
|
pull-requests: write
|
2021-05-02 08:00:40 -05:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2023-04-18 23:42:00 -05:00
|
|
|
- uses: JC5/lock-threads@main
|
2021-05-02 08:00:40 -05:00
|
|
|
with:
|
|
|
|
github-token: ${{ github.token }}
|
2023-04-16 23:15:07 -05:00
|
|
|
issue-inactive-days: 90
|
2023-04-16 23:16:07 -05:00
|
|
|
pr-inactive-days: 90
|