Skip to content

Commit

Permalink
Lock conversations of closed issues/prs after 90 days of inactivity
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Mar 18, 2023
1 parent b3bc08a commit 8f067ae
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 1 deletion.
25 changes: 25 additions & 0 deletions .github/workflows/autolock-conversations.yml
@@ -0,0 +1,25 @@
---

name: 'Lock Threads'

on: # yamllint disable-line rule:truthy
schedule:
- cron: '0 0 * * *'
workflow_dispatch:

permissions:
issues: write
pull-requests: write

concurrency:
group: lock

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v4
with:
issue-inactive-days: '90'
pr-inactive-days: '90'
log-output: true
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yml
Expand Up @@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3

- name: Lint markdown files
uses: nosborn/github-action-markdown-cli@v3.2.0
uses: nosborn/github-action-markdown-cli@v3
with:
files: .
ignore_path: .markdownlintignore
Expand Down

0 comments on commit 8f067ae

Please sign in to comment.