From dc6063ca08572269a84734cc86b2f332b1d8c9be Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 9 Jan 2025 12:58:10 +0000 Subject: [PATCH] Update dependabot actions and scheduled files weekly. This should reduce the amount of PR spam we get. If there's critical vulnerabilities: they will be updated more often or can be done manually with a workflow dispatch. --- .github/dependabot.yml | 2 +- .github/workflows/sync-shared-config.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 496d0556..6f5ab102 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,7 +7,7 @@ updates: - package-ecosystem: github-actions directory: / schedule: - interval: daily + interval: weekly allow: - dependency-type: all # The actions in triage-issues.yml are updated in the Homebrew/.github repo diff --git a/.github/workflows/sync-shared-config.yml b/.github/workflows/sync-shared-config.yml index 94eb74e9..a433b3ea 100644 --- a/.github/workflows/sync-shared-config.yml +++ b/.github/workflows/sync-shared-config.yml @@ -111,7 +111,7 @@ jobs: run: ./.github/actions/sync/shared-config.rb "${TARGET}" '/home/linuxbrew/.linuxbrew/Homebrew' - name: Create pull request - if: github.ref == 'refs/heads/master' && steps.detect_changes.outputs.pull_request == 'true' + if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' run: | cd "target/$GH_REPO" git checkout -b sync-shared-config