From 3cd99ce060e4e2dafea7709ee3834430b2f8e588 Mon Sep 17 00:00:00 2001 From: Anton Volkov Date: Wed, 3 Sep 2025 17:34:22 +0200 Subject: [PATCH] Remove workflow trigger on change in branch protection rules --- .github/workflows/cron-run-tests.yaml | 6 ++---- .github/workflows/pre-commit-autoupdate.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/cron-run-tests.yaml b/.github/workflows/cron-run-tests.yaml index 4d164ccdef3c..56de6810439e 100644 --- a/.github/workflows/cron-run-tests.yaml +++ b/.github/workflows/cron-run-tests.yaml @@ -1,13 +1,11 @@ name: Run tests suite on: - # For Branch-Protection check. Only the default branch is supported. See - # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection - branch_protection_rule: + # To be able to be triggered manually + workflow_dispatch: # To guarantee Maintained check is occasionally updated. See # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained schedule: - cron: '28 2 * * *' - workflow_dispatch: permissions: read-all diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index fb8bc64dc45a..cd0a450e9dce 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -1,14 +1,12 @@ name: Autoupdate pre-commit on: - # For Branch-Protection check. Only the default branch is supported. See - # https://github.com/ossf/scorecard/blob/main/docs/checks.md#branch-protection - branch_protection_rule: + # To be able to be triggered manually + workflow_dispatch: # To guarantee Maintained check is occasionally updated. See # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained schedule: - cron: '28 2 * * 6' # Saturday at 02:28 UTC - workflow_dispatch: jobs: autoupdate: