From 3f18f24f8b5e79b650c798dbdef616f9324be084 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Wed, 6 Nov 2024 10:29:58 +0800 Subject: [PATCH 1/3] workflows/sync-shared-config: add workflow_dispatch trigger This allows us to run this workflow without having to wait for up to 3 hours. Needed to unblock https://github.com/Homebrew/.github/pull/206 where CI fails due to `.ruby-version` not being in sync with `brew`'s after a new Portable Ruby release. --- .github/workflows/sync-shared-config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync-shared-config.yml b/.github/workflows/sync-shared-config.yml index 7930acb5..702bb1ea 100644 --- a/.github/workflows/sync-shared-config.yml +++ b/.github/workflows/sync-shared-config.yml @@ -7,6 +7,7 @@ on: pull_request: schedule: - cron: "0 */3 * * *" # Every 3 hours + workflow_dispatch: permissions: contents: read From de7ca1c0402446ef6f3777426b42dce7ac78edc1 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Wed, 6 Nov 2024 10:32:00 +0800 Subject: [PATCH 2/3] .ruby-version: bump to 3.3.6 --- .ruby-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ruby-version b/.ruby-version index fa7adc7a..9c25013d 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.5 +3.3.6 From 5cec0eede12152936e8123fe197298cbe5621be3 Mon Sep 17 00:00:00 2001 From: Ruoyu Zhong Date: Wed, 6 Nov 2024 10:34:17 +0800 Subject: [PATCH 3/3] workflows/sync-shared-config: bump `ruby/setup-ruby` to v1.200.0 --- .github/workflows/sync-shared-config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sync-shared-config.yml b/.github/workflows/sync-shared-config.yml index 702bb1ea..3163bb09 100644 --- a/.github/workflows/sync-shared-config.yml +++ b/.github/workflows/sync-shared-config.yml @@ -97,7 +97,7 @@ jobs: run: cp /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/.ruby-version . - name: Install Ruby - uses: ruby/setup-ruby@7d3497fd78c07c0d84ebafa58d8dac60cd1f0763 # v1.199.0 + uses: ruby/setup-ruby@217c988b8c2bf2bacb2d5c78a7e7b18f8c34daed # v1.200.0 with: bundler-cache: true