Unverified Commit 0be894db authored by Nikita Titov's avatar Nikita Titov Committed by GitHub
Browse files

[ci] lock inactive issues and PRs at different time (#6764)


Co-authored-by: default avatarJames Lamb <jaylamb20@gmail.com>
parent ab604263
...@@ -2,8 +2,10 @@ name: 'Lock Inactive Threads' ...@@ -2,8 +2,10 @@ name: 'Lock Inactive Threads'
on: on:
schedule: schedule:
# midnight UTC, every Wednesday # midnight UTC, every Wednesday, for Issues
- cron: '0 0 * * 3' - cron: '0 0 * * 3'
# midnight UTC, every Thursday, for PRs
- cron: '0 0 * * 4'
# allow manual triggering from GitHub UI # allow manual triggering from GitHub UI
workflow_dispatch: workflow_dispatch:
...@@ -42,4 +44,4 @@ jobs: ...@@ -42,4 +44,4 @@ jobs:
# what should the locking status be? # what should the locking status be?
issue-lock-reason: 'resolved' issue-lock-reason: 'resolved'
pr-lock-reason: 'resolved' pr-lock-reason: 'resolved'
process-only: 'issues, prs' process-only: ${{ github.event.schedule == '0 0 * * 3' && 'issues' || 'prs' }}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment