diff --git a/.github/workflows/lock-threads.yaml b/.github/workflows/lock-threads.yaml new file mode 100644 index 000000000..50f11078d --- /dev/null +++ b/.github/workflows/lock-threads.yaml @@ -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