Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: use lock-threads GH action for inactive issues/PRs #1881

Merged
merged 4 commits into from
Jan 7, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 0 additions & 38 deletions .github/lock.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/lock.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: lock-threads

on:
# 00:00 hours UTC, i.e. 16:00 hours PST or 17:00 hours PDT
schedule:
- cron: '0 0 * * *'

# allow manual trigger
workflow_dispatch:

jobs:
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
if: github.repository == 'aws/aws-sdk-js-v3'
with:
github-token: ${{ github.token }}
issue-lock-inactive-days: 14
pr-lock-inactive-days: 14
issue-exclude-created-before: '2020-10-01T00:00:00Z'
pr-exclude-created-before: '2020-10-01T00:00:00Z'
issue-lock-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a
[new issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose)
for related bugs and link to relevant comments in this thread.
pr-lock-comment: >
This thread has been automatically locked since there has not been
any recent activity after it was closed. Please open a
[new issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose)
for related bugs and link to relevant comments in this thread.