Skip to content

Commit 1be46d4

Browse files
amtinsmister-ben
andauthored
chore(lock-threads): run only daily at 1:00 am, and skip in forks (#7832)
* chore(lock-action): performed daily at 1:00 am * Skip for forks Co-authored-by: mister-ben <git@misterben.me>
1 parent 1445f87 commit 1be46d4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/lock.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: 'Lock Threads'
22

33
on:
44
schedule:
5-
- cron: '0 * * * *'
5+
- cron: '0 1 * * *'
66
workflow_dispatch:
77

88
permissions:
@@ -13,6 +13,7 @@ concurrency:
1313

1414
jobs:
1515
action:
16+
if: ${{ github.repository_owner == 'videojs' }}
1617
runs-on: ubuntu-latest
1718
steps:
1819
- uses: dessant/lock-threads@v3

0 commit comments

Comments
 (0)