From de56f1e1f2fafb773b247837de19f3fe83a93696 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 23 May 2024 09:31:17 +0100 Subject: [PATCH] Sync .ruby-version file across repositories Although this feels a little weird having it in `.github`: it makes sense to maintain a single, consistent `.ruby-version` across all our repositories matching the Portable Ruby version we use in Homebrew. While we're here, don't try to sync to the archived Homebrew/homebrew-cask-* taps. --- .github/actions/sync/triage-config.rb | 1 + .github/workflows/sync-triage-config.yml | 2 -- .ruby-version | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) create mode 100644 .ruby-version diff --git a/.github/actions/sync/triage-config.rb b/.github/actions/sync/triage-config.rb index 4e69c68f..4719a267 100755 --- a/.github/actions/sync/triage-config.rb +++ b/.github/actions/sync/triage-config.rb @@ -16,6 +16,7 @@ def git(*args) [ '.github/workflows/lock-threads.yml', '.github/workflows/stale-issues.yml', + '.ruby-version', ].each do |glob| src_paths = Pathname.glob(glob) dst_paths = Pathname.glob(target_dir.join(glob)) diff --git a/.github/workflows/sync-triage-config.yml b/.github/workflows/sync-triage-config.yml index f1f9491d..4582291e 100644 --- a/.github/workflows/sync-triage-config.yml +++ b/.github/workflows/sync-triage-config.yml @@ -27,8 +27,6 @@ jobs: - Homebrew/homebrew-aliases - Homebrew/homebrew-bundle - Homebrew/homebrew-cask - - Homebrew/homebrew-cask-fonts - - Homebrew/homebrew-cask-versions - Homebrew/homebrew-command-not-found - Homebrew/homebrew-core - Homebrew/homebrew-formula-analytics diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000..bea438e9 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.3.1