From 40dd3561aa9b02ee301c69ff40240a0e3d77b7f1 Mon Sep 17 00:00:00 2001 From: Yarden Shoham Date: Tue, 19 Mar 2024 19:25:33 +0000 Subject: [PATCH] Don't lock using GitHub actions We have our bot for this. See: - https://github.com/GiteaBot/gitea-backporter?tab=readme-ov-file#locks - https://github.com/GiteaBot/gitea-backporter/blob/main/src/lock.ts Signed-off-by: Yarden Shoham --- .github/workflows/cron-lock.yml | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 .github/workflows/cron-lock.yml diff --git a/.github/workflows/cron-lock.yml b/.github/workflows/cron-lock.yml deleted file mode 100644 index 665313135b679..0000000000000 --- a/.github/workflows/cron-lock.yml +++ /dev/null @@ -1,23 +0,0 @@ -name: cron-lock - -on: - schedule: - - cron: "0 0 * * *" # every day at 00:00 UTC - workflow_dispatch: - -permissions: - issues: write - pull-requests: write - -concurrency: - group: lock - -jobs: - action: - runs-on: ubuntu-latest - if: github.repository == 'go-gitea/gitea' - steps: - - uses: dessant/lock-threads@v5 - with: - issue-inactive-days: 10 - pr-inactive-days: 7