From a6cb4a1b80ca94298ee4e3545524e1065c2a6074 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 9 Jan 2025 12:40:44 +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..41624ae1 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 != 'push' run: | cd "target/$GH_REPO" git checkout -b sync-shared-config