summaryrefslogtreecommitdiff
path: root/.github/workflows/sync_default_gems.yml
AgeCommit message (Collapse)Author
2025-12-17Disabled gem sync for Ruby 4.0 releaseHiroshi SHIBATA
2025-12-02Bump actions/checkout from 6.0.0 to 6.0.1dependabot[bot]
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-11-27Bump actions/checkout from 5.0.1 to 6.0.0dependabot[bot]
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-17Bump actions/checkout from 5.0.0 to 5.0.1dependabot[bot]
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-12Added email and name for `git pull --rebase`Hiroshi SHIBATA
``` 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-09sync_default_gems.yml: Pull --rebase before pushTakashi Kokubun
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 https://github.com/ruby/git.ruby-lang.org/commit/d9e9bcc60dcf0dd1cbdc2dd42bc0286439e471aa, so it was newly introduced at https://github.com/ruby/ruby/commit/3ba5cfd1cb77b61b2b1ad1d03271bc1fe7b71969. 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-05Use Ruby 3.4 for sync_default_gems.rbHiroshi SHIBATA
``` 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-10-09sync_default_gems.yml: Experiment with fetch-depth: 1Takashi Kokubun
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-09sync_default_gems.yml: Include the gem name in the job nameTakashi Kokubun
2025-10-09sync_default_gems.yml: Link the failed diffTakashi Kokubun
2025-10-09sync_default_gems.yml: Notify which gem failedTakashi Kokubun
2025-10-09sync_default_gems.yml: Notify an extra channelTakashi Kokubun
which git.ruby-lang.org used to also notify.
2025-10-09sync_default_gems.yml: Fix the notification conditionTakashi Kokubun
2025-10-06sync_default_gems.yml: Remove client_payload referencesTakashi Kokubun
Now that repository_dispatch is gone, we don't need them either.
2025-10-06sync_default_gems.yml: Remove unused repository_dispatchTakashi Kokubun
We actually use the workflow-level dispatch from API as well
2025-10-06sync_default_gems.yml: Attempt push only if neededTakashi Kokubun
2025-10-06sync_default_gems.yml: Move the git config to the scriptTakashi Kokubun
2025-10-06sync_default_gems.yml: Avoid fetching tags/branchesTakashi Kokubun
2025-10-06sync_default_gems.yml: Detect past renamesTakashi Kokubun
2025-10-06sync_default_gems.yml: Fix a wrong job nameTakashi Kokubun
2025-10-06sync_default_gems.yml: Remove an unmatched parenTakashi Kokubun
2025-10-06Add a workflow to sync default gems (#14749)Takashi Kokubun