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