From f44a79130bb8f9f6fa571e080a02bc6f3eaeb411 Mon Sep 17 00:00:00 2001 From: Sai Kumar Battinoju Date: Thu, 14 Dec 2023 10:37:15 +0530 Subject: [PATCH] chore: clean up protected branches and add dispatch support for housekeeping workflow --- .github/workflows/housekeeping.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/housekeeping.yml b/.github/workflows/housekeeping.yml index 6c94b1c4214..7b5847035e8 100644 --- a/.github/workflows/housekeeping.yml +++ b/.github/workflows/housekeeping.yml @@ -4,6 +4,7 @@ on: schedule: # Run everyday at 1 AM - cron: '0 1 * * *' + workflow_dispatch: jobs: prs: @@ -41,5 +42,5 @@ jobs: date: '3 months ago' dry_run: false delete_tags: false - extra_protected_branch_regex: ^(main|release/.*|develop|hotfix/.*|hotfix-release/.*)$ + extra_protected_branch_regex: ^(main|develop)$ exclude_open_pr_branches: true