diff --git a/path/to/workflow.yml b/path/to/workflow.yml new file mode 100644 index 0000000..985b9cf --- /dev/null +++ b/path/to/workflow.yml @@ -0,0 +1,16 @@ +name: 'Lock Threads' + +on: + schedule: + - cron: '0 0 * * *' + +jobs: + lock: + runs-on: ubuntu-latest + steps: + - name: 'Lock Threads' + uses: dessant/lock-threads@v4 + with: + repo-token: ${{ secrets.BOT_GITHUB_TOKEN }} + issue-lock-inactive-days: '30' + pr-lock-inactive-days: '30'