Lock Threads #12290
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Lock Threads' | |
on: | |
schedule: | |
- cron: '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: '0' | |
pr-inactive-days: '0' | |
issue-comment: > | |
This issue has been automatically locked. | |
Create a new discussion if you'd like to continue the conversation. | |
https://github.com/cargo-lambda/cargo-lambda/discussions/new?category=general | |
pr-comment: > | |
This pull request has been automatically locked. | |
Create a new discussion if you'd like to continue the conversation. | |
https://github.com/cargo-lambda/cargo-lambda/discussions/new?category=general | |
process-only: 'issues, prs' |