Skip to content

Commit

Permalink
ci(lock-threads): Automatically lock closed, inactive issues (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadenbuie authored Jul 18, 2023
1 parent 625d6d3 commit a94cfcd
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/lock-threads.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Lock Closed Threads'

on:
schedule:
- cron: '42 5 * * 1' # 5:42 AM UTC every Monday
repository_dispatch: { types: [lock_threads] }
workflow_dispatch:

permissions:
issues: write
# Enable the line below if you turn on pull request locking
# pull-requests: write

concurrency:
group: lock-threads

jobs:
lock-threads:
uses: rstudio/shiny-workflows/.github/workflows/lock-threads.yaml@v1

0 comments on commit a94cfcd

Please sign in to comment.