27 Commits

Author SHA1 Message Date
dependabot[bot]
00fdcb3ecd Bump actions/checkout from 6.0.1 to 6.0.2
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6.0.1...v6.0.2)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-22 18:34:31 -08:00
Hiroshi SHIBATA
61724b9e4a
Update the latest versions of actions 2026-01-22 15:04:08 +09:00
Hiroshi SHIBATA
1b476606f2
Update the latest versions of actions 2026-01-06 13:07:49 +09:00
Nobuyoshi Nakada
3f616d5701
Update ruby/setup-ruby action to v1.276.0 2025-12-30 18:33:03 +09:00
Hiroshi SHIBATA
2fa02d6d2e
Enabled auto-update NEWS.md and sync for default gems again 2025-12-26 09:06:05 +09:00
Hiroshi SHIBATA
2117e612ca Disabled gem sync for Ruby 4.0 release 2025-12-17 11:11:52 +09:00
dependabot[bot]
bf144d8c10 Bump actions/checkout from 6.0.0 to 6.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.0 to 6.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v6...v6.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-02 18:31:11 -08:00
dependabot[bot]
3b09db3b35 Bump actions/checkout from 5.0.1 to 6.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.1 to 6.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5.0.1...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-27 16:36:52 +09:00
dependabot[bot]
b5d0aac900 Bump actions/checkout from 5.0.0 to 5.0.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Commits](https://github.com/actions/checkout/compare/v5...v5.0.1)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-11-17 18:34:37 -08:00
Hiroshi SHIBATA
b33da0a6aa
Added email and name for git pull --rebase
```
Rebasing (1/3)
Committer identity unknown

*** Please tell me who you are.

Run

  git config --global user.email "you@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.
```
2025-11-12 10:35:34 +09:00
Takashi Kokubun
17efb770c8 sync_default_gems.yml: Pull --rebase before push
It was supposed to update a local branch in case the remote branch was
updated between actions/checkout and the end of tool/sync_default_gems.rb.

Note that this `git pull` didn't exist in the original bin/update-default-gem.sh
d9e9bcc60d,
so it was newly introduced at 3ba5cfd1cb.

But `git pull --no-ff` failed when master had updates in an unrelated
repository. I think we need to use `git pull --rebase` instead.

This fixes:

* https://github.com/ruby/ruby/actions/runs/19207693793/job/54905403070
    * checkout: f08030e9dccf38d9ea5c9505203fe26484dc28d8
    * ruby tool/sync_default_gems.rb net-http ec9c70a6fba75a63c128864ef3cb32c883665a33..e4d80bd609f22cad04a2e2c1d54c981bb853c938
    * pull: 2bf82c627494e785737037bbaf9a6b98f3c6354c
2025-11-09 10:01:56 -08:00
Hiroshi SHIBATA
2172057f1b Use Ruby 3.4 for sync_default_gems.rb
```
tool/sync_default_gems.rb:177:in `block in <module:SyncDefaultGems>': undefined local variable or method `it' for SyncDefaultGems:Module (NameError)

      it.exclude << "lib/open3/jruby_windows.rb"
      ^^
	from <internal:kernel>:90:in `tap'
	from tool/sync_default_gems.rb:176:in `<module:SyncDefaultGems>'
	from tool/sync_default_gems.rb:10:in `<main>'
```
2025-11-05 15:46:28 +09:00
Takashi Kokubun
a5def9999c sync_default_gems.yml: Experiment with fetch-depth: 1
At the moment, we're not sure which gem relies on past renames. So we
try this, and revert it if it turns out to be necessary.

Given that it slows down every single sync, however, I'm thinking of
making tool/sync_default_gems.rb responsible for implementing all
necessary renames on cherry-picks using filter-branch (or any
modification on commits before pushing them).
2025-10-09 21:24:27 -07:00
Takashi Kokubun
a29c90c3b0 sync_default_gems.yml: Include the gem name in the job name 2025-10-09 01:06:20 -07:00
Takashi Kokubun
baa1aad28b sync_default_gems.yml: Link the failed diff 2025-10-09 00:55:09 -07:00
Takashi Kokubun
5d3bd79034 sync_default_gems.yml: Notify which gem failed 2025-10-09 00:46:45 -07:00
Takashi Kokubun
8cd50a1470 sync_default_gems.yml: Notify an extra channel
which git.ruby-lang.org used to also notify.
2025-10-09 00:36:07 -07:00
Takashi Kokubun
a9adc2fcb4 sync_default_gems.yml: Fix the notification condition 2025-10-09 00:08:18 -07:00
Takashi Kokubun
b1e672bb48 sync_default_gems.yml: Remove client_payload references
Now that repository_dispatch is gone, we don't need them either.
2025-10-06 16:18:30 -07:00
Takashi Kokubun
8c0fc05832 sync_default_gems.yml: Remove unused repository_dispatch
We actually use the workflow-level dispatch from API as well
2025-10-06 16:17:46 -07:00
Takashi Kokubun
bc8732b6c8 sync_default_gems.yml: Attempt push only if needed 2025-10-06 14:08:04 -07:00
Takashi Kokubun
6c1b588714 sync_default_gems.yml: Move the git config to the script 2025-10-06 14:03:48 -07:00
Takashi Kokubun
7f6e9a0b1b sync_default_gems.yml: Avoid fetching tags/branches 2025-10-06 14:01:25 -07:00
Takashi Kokubun
57ea1c0be1 sync_default_gems.yml: Detect past renames 2025-10-06 13:53:44 -07:00
Takashi Kokubun
43eb41ec94 sync_default_gems.yml: Fix a wrong job name 2025-10-06 13:46:00 -07:00
Takashi Kokubun
c9b726028c sync_default_gems.yml: Remove an unmatched paren 2025-10-06 13:43:29 -07:00
Takashi Kokubun
3ba5cfd1cb
Add a workflow to sync default gems (#14749) 2025-10-06 13:25:00 -07:00