From 1be46d4ebf0276e38fd27fac7a2ab3e4fd983d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9?= <34163393+amtins@users.noreply.github.com> Date: Mon, 11 Jul 2022 13:55:36 +0200 Subject: [PATCH] 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 --- .github/workflows/lock.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lock.yml b/.github/workflows/lock.yml index 4f346b68f8..4eb2fccd7e 100644 --- a/.github/workflows/lock.yml +++ b/.github/workflows/lock.yml @@ -2,7 +2,7 @@ name: 'Lock Threads' on: schedule: - - cron: '0 * * * *' + - cron: '0 1 * * *' workflow_dispatch: permissions: @@ -13,6 +13,7 @@ concurrency: jobs: action: + if: ${{ github.repository_owner == 'videojs' }} runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v3