Skip to content

Commit

Permalink
chore(lock-threads): run only daily at 1:00 am, and skip in forks (#7832
Browse files Browse the repository at this point in the history
)

* chore(lock-action): performed daily at 1:00 am

* Skip for forks

Co-authored-by: mister-ben <git@misterben.me>
  • Loading branch information
amtins and mister-ben authored Jul 11, 2022
1 parent 1445f87 commit 1be46d4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: 'Lock Threads'

on:
schedule:
- cron: '0 * * * *'
- cron: '0 1 * * *'
workflow_dispatch:

permissions:
Expand All @@ -13,6 +13,7 @@ concurrency:

jobs:
action:
if: ${{ github.repository_owner == 'videojs' }}
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v3
Expand Down

0 comments on commit 1be46d4

Please sign in to comment.