kettle-jem 7.1.42 → 7.1.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +129 -7
  4. data/README.md +30 -3
  5. data/lib/kettle/jem/ci/harden_macos_ca_bundle.sh +75 -0
  6. data/lib/kettle/jem/maintenance_changelog.rb +1 -1
  7. data/lib/kettle/jem/tasks/install_task.rb +98 -5
  8. data/lib/kettle/jem/templates/.duel.rb.example +10 -0
  9. data/lib/kettle/jem/templates/.git-hooks/commit-msg.example +6 -6
  10. data/lib/kettle/jem/templates/.git-hooks/commit-subjects-goalie.txt.example +7 -1
  11. data/lib/kettle/jem/templates/.github/workflows/coverage.yml.example +1 -1
  12. data/lib/kettle/jem/templates/.github/workflows/current.yml.example +2 -2
  13. data/lib/kettle/jem/templates/.github/workflows/dep-heads.yml.example +3 -3
  14. data/lib/kettle/jem/templates/.github/workflows/dependency-review.yml.example +1 -1
  15. data/lib/kettle/jem/templates/.github/workflows/discord-notifier.yml.example +1 -1
  16. data/lib/kettle/jem/templates/.github/workflows/framework-ci.yml.example +1 -1
  17. data/lib/kettle/jem/templates/.github/workflows/heads.yml.example +2 -2
  18. data/lib/kettle/jem/templates/.github/workflows/jruby-10.0.yml.example +1 -1
  19. data/lib/kettle/jem/templates/.github/workflows/jruby-9.1.yml.example +1 -1
  20. data/lib/kettle/jem/templates/.github/workflows/jruby-9.2.yml.example +1 -1
  21. data/lib/kettle/jem/templates/.github/workflows/jruby-9.3.yml.example +1 -1
  22. data/lib/kettle/jem/templates/.github/workflows/jruby-9.4.yml.example +1 -1
  23. data/lib/kettle/jem/templates/.github/workflows/jruby.yml.example +1 -1
  24. data/lib/kettle/jem/templates/.github/workflows/locked_deps.yml.example +1 -1
  25. data/lib/kettle/jem/templates/.github/workflows/opencollective.yml.example +1 -1
  26. data/lib/kettle/jem/templates/.github/workflows/perf-comment.yml.example +92 -0
  27. data/lib/kettle/jem/templates/.github/workflows/perf.yml.example +152 -69
  28. data/lib/kettle/jem/templates/.github/workflows/ruby-2.3.yml.example +1 -1
  29. data/lib/kettle/jem/templates/.github/workflows/ruby-2.4.yml.example +1 -1
  30. data/lib/kettle/jem/templates/.github/workflows/ruby-2.5.yml.example +1 -1
  31. data/lib/kettle/jem/templates/.github/workflows/ruby-2.6.yml.example +1 -1
  32. data/lib/kettle/jem/templates/.github/workflows/ruby-2.7.yml.example +1 -1
  33. data/lib/kettle/jem/templates/.github/workflows/ruby-3.0.yml.example +1 -1
  34. data/lib/kettle/jem/templates/.github/workflows/ruby-3.1.yml.example +1 -1
  35. data/lib/kettle/jem/templates/.github/workflows/ruby-3.2.yml.example +1 -1
  36. data/lib/kettle/jem/templates/.github/workflows/ruby-3.3.yml.example +1 -1
  37. data/lib/kettle/jem/templates/.github/workflows/ruby-3.4.yml.example +1 -1
  38. data/lib/kettle/jem/templates/.github/workflows/style.yml.example +1 -1
  39. data/lib/kettle/jem/templates/.github/workflows/templating.yml.example +1 -1
  40. data/lib/kettle/jem/templates/.github/workflows/truffle.yml.example +1 -1
  41. data/lib/kettle/jem/templates/.github/workflows/truffleruby-22.3.yml.example +1 -1
  42. data/lib/kettle/jem/templates/.github/workflows/truffleruby-23.1.yml.example +1 -1
  43. data/lib/kettle/jem/templates/.github/workflows/truffleruby-24.2.yml.example +1 -1
  44. data/lib/kettle/jem/templates/.github/workflows/truffleruby-25.0.yml.example +1 -1
  45. data/lib/kettle/jem/templates/.github/workflows/truffleruby-33.0.yml.example +1 -1
  46. data/lib/kettle/jem/templates/.github/workflows/unlocked_deps.yml.example +1 -1
  47. data/lib/kettle/jem/templates/.structuredmerge/kettle-jem.yml.example +2 -2
  48. data/lib/kettle/jem/templates/Appraisals.example +12 -0
  49. data/lib/kettle/jem/templates/CONTRIBUTING.md.example +5 -1
  50. data/lib/kettle/jem/templates/Gemfile.example +3 -1
  51. data/lib/kettle/jem/templates/gem.gemspec.example +10 -6
  52. data/lib/kettle/jem/templates/gemfiles/modular/coverage.gemfile.example +1 -1
  53. data/lib/kettle/jem/templates/gemfiles/modular/debug.gemfile.example +1 -1
  54. data/lib/kettle/jem/templates/gemfiles/modular/documentation.gemfile.example +5 -5
  55. data/lib/kettle/jem/templates/gemfiles/modular/duel.gemfile.example +1 -1
  56. data/lib/kettle/jem/templates/gemfiles/modular/optional.gemfile.example +1 -1
  57. data/lib/kettle/jem/templates/gemfiles/modular/ostruct/r4/v0.6.gemfile.example +1 -1
  58. data/lib/kettle/jem/templates/gemfiles/modular/rspec.gemfile.example +12 -4
  59. data/lib/kettle/jem/templates/gemfiles/modular/rspec_junit_formatter/r2/v0.6.gemfile.example +7 -0
  60. data/lib/kettle/jem/templates/gemfiles/modular/rspec_junit_formatter/r3/v0.8.gemfile.example +2 -0
  61. data/lib/kettle/jem/templates/gemfiles/modular/rspec_junit_formatter/r3.2/v0.6.gemfile.example +7 -0
  62. data/lib/kettle/jem/templates/gemfiles/modular/rspec_junit_formatter/r4/v0.8.gemfile.example +2 -0
  63. data/lib/kettle/jem/templates/gemfiles/modular/style_local.gemfile.example +1 -1
  64. data/lib/kettle/jem/templates/gemfiles/modular/templating.gemfile.example +2 -1
  65. data/lib/kettle/jem/templates/gemfiles/modular/templating_local.gemfile.example +34 -18
  66. data/lib/kettle/jem/templates/gemfiles/modular/x_std_libs.gemfile.example +10 -2
  67. data/lib/kettle/jem/templates/readme/partials/configuration.md.example +3 -0
  68. data/lib/kettle/jem/templates/shim/Gemfile.example +1 -1
  69. data/lib/kettle/jem/templates/shim/gem.gemspec.example +3 -3
  70. data/lib/kettle/jem/version.rb +1 -1
  71. data/lib/kettle/jem.rb +729 -104
  72. data.tar.gz.sig +0 -0
  73. metadata +1187 -1037
  74. metadata.gz.sig +0 -0
  75. data/lib/kettle/jem/templates/.idea/.gitignore.example +0 -44
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 774ab005c760740284caae836c23a5962d65a2687d9cda7d870a1ac5399af4d6
4
- data.tar.gz: 2fbeccdec4f1bd716dfe46d652ac0d52141ae2dc067458e55200860c09488838
3
+ metadata.gz: de97151a523546f9fd0b8fd72572b4220da601fbf6b52ef823542de32b87ac45
4
+ data.tar.gz: 8ae4abaf748e07f24ec047e201e719617487a89a85faf1ffd9a9a85a46d46b9a
5
5
  SHA512:
6
- metadata.gz: aa11a578eec5dfdeafcf8975ef408af3f5c219bf2ad45741d2f905c8f97975c5bca997348e634a9296210d95b2f6aebed43fffa7b172338d6d91ac132a1d0781
7
- data.tar.gz: ce0d1f9444959142894053cd2ea7e2b09f23ddec1ecb1b46b824057944aa0465028696d455635f4fb4d940080ba5082f38b9db5cd96a3646f205e1c97a02b215
6
+ metadata.gz: 0ea84e7e950405b8cd4432a33199e0b828b3ae139217b50f4015615c72eb674e7cbfd300eefcd3f3badba6118f8f671fab56f10e1587966873c4a4fdfb00d287
7
+ data.tar.gz: 73c09d99006422436575373be83e68da3f6aa2b3cd9fb9b231def702924c1b08150ba32156317ca11d7550015a25cba0761036e0ecf9097ebd7807265f19b3ca
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -22,6 +22,128 @@ Please file a bug if you notice a violation of semantic versioning.
22
22
 
23
23
  ### Changed
24
24
 
25
+ - Generated GitHub Actions workflows now pin setup-ruby-flash v2.15, whose nested actions are SHA-pinned so repositories that require full-length SHA pins can run it.
26
+
27
+ - [kc] kettle-jem-workflow-pins: Update pinned GitHub Actions in kettle-jem templates:
28
+ - ruby/setup-ruby v1.344.0 (78c62f2208e480ce3d5ae4dfd9b9e181acf48b63) -> v1.345.0 (145243922b4465b78e04dd66294782c7de45901f)
29
+
30
+ - [kc] kettle-jem-deps-floor: Update kettle-jem template dependency floors:
31
+ - kettle-dev (>= 3.1.31 -> >= 3.1.32)
32
+ - kettle-family (>= 1.3.49 -> >= 1.3.50)
33
+ - kettle-soup-cover (>= 3.0.16 -> >= 3.0.17)
34
+
35
+ ### Deprecated
36
+
37
+ ### Removed
38
+
39
+ ### Fixed
40
+
41
+ ### Security
42
+
43
+ ## [7.1.44] - 2026-11-25
44
+
45
+ - TAG: [v7.1.44][7.1.44t]
46
+ - COVERAGE: 93.76% -- 11911/12704 lines in 17 files
47
+ - BRANCH COVERAGE: 77.54% -- 5185/6687 branches in 17 files
48
+ - 21.57% documented
49
+
50
+ ### Changed
51
+
52
+ - [kc] kettle-jem-deps-floor: Update kettle-jem template dependency floors:
53
+ - kettle-changelog (>= 1.0.20 -> >= 1.0.21)
54
+ - kettle-family (>= 1.3.48 -> >= 1.3.49)
55
+
56
+ ## [7.1.43] - 2026-11-24
57
+
58
+ - TAG: [v7.1.43][7.1.43t]
59
+ - COVERAGE: 93.85% -- 11923/12704 lines in 17 files
60
+ - BRANCH COVERAGE: 77.67% -- 5194/6687 branches in 17 files
61
+ - 21.57% documented
62
+
63
+ ### Added
64
+
65
+ - `workflows.legacy_engines` opts an EOL engine workflow back in, as a list (`- truffleruby-24.2`) or a map keyed by workflow name with optional `mode` (`parallel` default, `serial` runs the job with `KETTLE_TEST_RUNNER=rspec`, `experimental` adds `experimental: true` to its matrix entry), `tracking` (issue URL) and `revisit_by` (date; a warning is reported once it has passed). Templating also reports a warning for every EOL workflow it removes, so the deletion is never silent.
66
+
67
+ ### Changed
68
+
69
+ - Update the opt-in Duel integration to 0.1.8, including fork-safe comments, regression acceptance labels, merge queues, and last-passed push baselines. Existing .duel.rb configurations remain project-owned.
70
+
71
+ - **Breaking for generated CI:** workflows for EOL engine releases are no longer generated, and existing copies are deleted on the next templating run: `jruby-9.1`, `jruby-9.2`, `jruby-9.3`, `jruby-9.4`, `truffleruby-22.3`, `truffleruby-23.1`, `truffleruby-24.2`, `truffleruby-25.0`. An engine release is EOL when the CRuby it implements is EOL, and the TruffleRuby maintainers have asked projects to stop testing old releases. Their README compatibility badges become the static `(🚫CI)` variant (support is declared via the equivalent MRI job and rubocop-lts rules, as for Ruby < 2.4) instead of being removed. List a workflow under `workflows.legacy_engines` to keep it. See structuredmerge/structuredmerge-ruby#131.
72
+
73
+ - [kc] kettle-jem/prepare: updated 27 project files:
74
+ - configuration (1)
75
+ - dependencies (26)
76
+
77
+ - [kc] kettle-jem/template: updated 6 project files:
78
+ - code and tests (1)
79
+ - dependencies (3)
80
+ - documentation (1)
81
+ - other (1)
82
+
83
+ - [kc] kettle-jem-deps-floor: Update kettle-jem template dependency floors:
84
+ - addressable (>= 2.9.2 -> >= 2.10.0)
85
+ - duel (>= 0.1.8 -> >= 0.3.1)
86
+ - gem_bench (>= 2.0.5 -> >= 2.0.6)
87
+ - gitmoji-regex (>= 2.0.16 -> >= 2.0.17)
88
+ - kettle-changelog (>= 1.0.18 -> >= 1.0.20)
89
+ - kettle-dev (>= 3.1.29 -> >= 3.1.31)
90
+ - kettle-family (>= 1.3.43 -> >= 1.3.48)
91
+ - kramdown (>= 2.5.2 -> >= 2.6.1)
92
+ - require_bench (>= 1.0.4 -> >= 1.0.5)
93
+ - rspec-stubbed_env (>= 1.0.18 -> >= 1.0.19)
94
+ - stone_checksums (>= 1.0.10 -> >= 1.0.11)
95
+ - yaml-converter (>= 0.2.7 -> >= 0.2.8)
96
+ - yard-fence (>= 0.9.11 -> >= 0.9.12)
97
+ - yard-lint (>= 1.13.1 -> >= 1.15.0)
98
+ - yard-timekeeper (>= 0.2.10 -> >= 0.2.11)
99
+
100
+ - [kc] kettle-jem-workflow-pins: Update pinned GitHub Actions in kettle-jem templates:
101
+ - actions/dependency-review-action v5.0.0 (a1d282b36b6f3519aa1f3fc636f609c47dddb294) -> v5.0.1 (bbc44d14a204704ccc493733616cd1e93a0321ec)
102
+ - github/codeql-action/analyze v4.39.1 (9b3254085494b55a0f7c4c2b3d2d52cc712ce370) -> v4.39.5 (915412ff23e8b7659517e607487dbeae018f2934)
103
+ - github/codeql-action/autobuild v4.39.1 (9b3254085494b55a0f7c4c2b3d2d52cc712ce370) -> v4.39.5 (915412ff23e8b7659517e607487dbeae018f2934)
104
+ - github/codeql-action/init v4.39.1 (9b3254085494b55a0f7c4c2b3d2d52cc712ce370) -> v4.39.5 (915412ff23e8b7659517e607487dbeae018f2934)
105
+ - qltysh/qlty-action/coverage v2.5.0 (ebcd284bf32e36a030afe15f1e136c7be08b9506) -> v2.8.1 (56bee2d751c94b7bd8de22f64c9b5f398048e13f)
106
+ - ruby/setup-ruby v1.335.0 (7f797815d8adceb1c412e7abefdd1ab4abc47a5f) -> v1.344.0 (78c62f2208e480ce3d5ae4dfd9b9e181acf48b63)
107
+ - sarisia/actions-status-discord v1.16.0 (eb045afee445dc055c18d3d90bd0f244fd062708) -> v1.16.1 (74e2ad0c4e57ca8b9ba6aee75d5a7841497bbb87)
108
+
109
+ - Keep destination-preferred gemspec version loaders aligned with configured Ruby entrypoint paths.
110
+
111
+ - rspec.gemfile template uses released rspec_junit_formatter ~> 0.8 on Ruby >= 3.3 and keeps the pboling fork (invalid-UTF-8 fix) only for older Rubies ([#136](https://github.com/structuredmerge/structuredmerge-ruby/issues/136))
112
+
113
+ ### Deprecated
114
+
115
+ ### Removed
116
+
117
+ - Dead remove_excluded_changelog_transfer_entries helper; excluded-key pruning lives in kettle-changelog's TransferMerger, which now only prunes Unreleased (#151).
118
+
119
+ ### Fixed
120
+
121
+ - Root Gemfile checksum fingerprints now include the config-derived default test bundle, so changing the default framework version triggers a re-render.
122
+
123
+ - README post-processing no longer treats badge image definitions (shields.io URLs) as workflow references, which stripped the inline badges that use them on every run. Compatible versioned engine badges (for example Truffle Ruby 33.0) whose workflow exists are now added as intended. (#133)
124
+
125
+ - [kc] alef-gemspec-spec-files: Kettle Jem now merges Alef-generated spec.files candidate lists and exclusion filters while retaining destination gem version metadata.
126
+
127
+ - Remove the Style/SafeNavigation offense from the generated gemfiles/modular/style_local.gemfile (spec&.version in the local_gem_satisfies? gemspec guard), so templated projects no longer carry a .rubocop_gradual.lock baseline entry for it
128
+
129
+ - Wire every configured StructuredMerge family gem in local templating bundles to prevent mixed local and registry dependency versions.
130
+
131
+ - Retemplating after an engine or workflow change no longer deletes transfer-keyed entries from released CHANGELOG sections (#150, #151); kettle-jem now requires kettle-changelog >= 1.0.19, which limits excluded-key pruning to `## [Unreleased]`. The spec that asserted the old remove-from-every-section behavior now asserts released history is preserved.
132
+
133
+ - README merge no longer duplicates template-owned sections nested inside a preserved destination section: preserved-section bodies now strip nested template-owned subsections, and extra preserved sections anchor only to template sections of equal-or-higher heading level so they are not inserted between a template parent and its nested sections
134
+
135
+ - Rakefile templating once again strips proven bundle-gem scaffold content (e.g. an eager require of rubocop/rake_task, which breaks release coverage boots) before merging the Rakefile template, instead of preserving scaffold lines forever as destination content; legitimate non-scaffold Rakefiles (alef/native, hand-maintained) keep their RSpec and default-task wiring. (GH#154)
136
+
137
+ - Templating now strips the bundle-gem scaffold's malformed contact line (a quoted mailto: href from bundler's CODE_OF_CONDUCT.md.tt .inspect bug) from the CODE_OF_CONDUCT.md merge input via markly AST, so newly scaffolded gems no longer carry an invalid URI that crashes yard-relative_markdown_links during the release changelog yard step. (GH#156)
138
+
139
+ ### Security
140
+
141
+ ## [7.1.42] - 2026-10-31
142
+
143
+ - TAG: [v7.1.42][7.1.42t]
144
+
145
+ ### Changed
146
+
25
147
  - [kc] kettle-jem/prepare: updated 24 project files:
26
148
  - configuration (1)
27
149
  - dependencies (23)
@@ -38,16 +160,10 @@ Please file a bug if you notice a violation of semantic versioning.
38
160
  - [kc] kettle-jem-workflow-pins: Update pinned GitHub Actions in kettle-jem templates:
39
161
  - ruby/setup-ruby v1.335.0 (7f797815d8adceb1c412e7abefdd1ab4abc47a5f) -> v1.336.0 (de492cf36cbab201753d720ce4f4e336cd688c94)
40
162
 
41
- ### Deprecated
42
-
43
- ### Removed
44
-
45
163
  ### Fixed
46
164
 
47
165
  - Template sweep no longer deletes per-Ruby-version modular gemfile variants (x_std_libs r2/r3/r3.1 libs.gemfile and the std-lib gem variants they load) while a committed version-split loader still eval_gemfile's them; gemfile sweep deletions now respect the reference closure of the loaders that remain, so only genuinely unreferenced variants are pruned.
48
166
 
49
- ### Security
50
-
51
167
  ## [7.1.41] - 2026-10-29
52
168
 
53
169
  - TAG: [v7.1.41][7.1.41t]
@@ -2564,7 +2680,13 @@ Please file a bug if you notice a violation of semantic versioning.
2564
2680
  - Released kettle-jem as part of the initial StructuredMerge Ruby 7.0.0 gem set.
2565
2681
  - Included packaged templates and parser-backed merge support for Ruby gem templating.
2566
2682
 
2567
- [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.41...HEAD
2683
+ [Unreleased]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.44...HEAD
2684
+ [7.1.44]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.43...v7.1.44
2685
+ [7.1.44t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.44
2686
+ [7.1.43]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.42...v7.1.43
2687
+ [7.1.43t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.43
2688
+ [7.1.42]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.41...v7.1.42
2689
+ [7.1.42t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.42
2568
2690
  [7.1.41]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.40...v7.1.41
2569
2691
  [7.1.41t]: https://github.com/structuredmerge/structuredmerge-ruby/releases/tag/v7.1.41
2570
2692
  [7.1.40]: https://github.com/structuredmerge/structuredmerge-ruby/compare/v7.1.39...v7.1.40
data/README.md CHANGED
@@ -137,6 +137,8 @@ gem install kettle-jem
137
137
 
138
138
  ## ⚙️ Configuration
139
139
 
140
+ Ruby-versioned modular Gemfile directories use the [kettle-rb RubySeriesBuckets rules](https://github.com/kettle-dev/kettle-rb/blob/main/lib/kettle/rb/ruby_series_buckets.rb) as their canonical definition. A named bucket such as `r3.2` ends at Ruby 3.2; it is an upper bound, not a minimum. A bare `r3` covers the remaining newer versions within Ruby 3. Buckets never cross major versions, and their ranges depend on the complete set of names: with `r3.2` and `r3`, the former covers Ruby 3.0 through 3.2 and the latter covers 3.3 onward within major 3. `r4` covers Ruby 4 separately.
141
+
140
142
  Each gem that uses Kettle::Jem has a `.kettle-jem.yml` file at its root. This file controls
141
143
  every aspect of how the template is applied.
142
144
 
@@ -419,8 +421,8 @@ Common tokens:
419
421
  `machine_users` excludes configured Git author names or email addresses from
420
422
  Git-derived copyright output. Any identity containing `[bot]` is filtered
421
423
  automatically. The built-in machine-account set includes `autobolt`,
422
- `StepSecurity Bot`, `dependabot[bot]`, and `depfu[bot]`; configured entries
423
- extend this set rather than replacing it.
424
+ `fossabot`, `StepSecurity Bot`, `dependabot[bot]`, and `depfu[bot]`; configured
425
+ entries extend this set rather than replacing it.
424
426
 
425
427
  `author_aliases` consolidates alternate Git author names or email addresses to
426
428
  canonical display names. The mapping is case-insensitive and applies to Git
@@ -550,12 +552,37 @@ files:
550
552
  Rakefile:
551
553
  strategy: merge
552
554
  preference: destination # keep your custom tasks
555
+ add_template_only_nodes: true
553
556
  certs/my.pem:
554
557
  strategy: raw_copy # binary file, no merging
555
558
  generated/report.md:
556
559
  strategy: keep_destination # never touch this file
557
560
  ```
558
561
 
562
+ ### Alef-generated Ruby packages
563
+
564
+ For an Alef-generated monorepo subgem, generate the package first, then hand
565
+ the Rakefile over to Kettle Jem by adding its repository-relative path to
566
+ `[workspace.ownership].user_owned` in `alef.toml`. Keep any existing entries:
567
+
568
+ ```toml
569
+ [workspace.ownership]
570
+ user_owned = [
571
+ "packages/ruby/Rakefile",
572
+ "packages/ruby/structuredmerge_core.gemspec",
573
+ ]
574
+ ```
575
+
576
+ Use the Rakefile override above in the package's Kettle Jem configuration.
577
+ The monorepo subgem profile seeds `accept_template` for a new configuration;
578
+ an explicit `merge` strategy survives subsequent profile synchronization.
579
+ Destination preference retains native build tasks and `rb_sys` configuration,
580
+ while template-only nodes add Kettle's tasks. Once handed off, Alef no longer
581
+ regenerates or verifies that file. Run `alef verify --exit-code` after the
582
+ handoff, and rerun Alef generation and Kettle templating to check convergence.
583
+ Configure the package as a member of `kettle-family` for its local-template
584
+ and release workflows.
585
+
559
586
  ### Environment Variables & CLI Options
560
587
 
561
588
  Kettle::Jem behavior is controlled via environment variables (which double as
@@ -922,7 +949,7 @@ Thanks for RTFM. ☺️
922
949
  [📌gitmoji]: https://gitmoji.dev
923
950
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
924
951
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
925
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-12.384-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
952
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-12.704-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
926
953
  [🔐security]: https://github.com/structuredmerge/structuredmerge-ruby/blob/main/SECURITY.md
927
954
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
928
955
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -0,0 +1,75 @@
1
+ #!/bin/sh
2
+ # Remove the eMudhra-related roots from the macOS system CA bundle.
3
+ #
4
+ # Apple's /etc/ssl/cert.pem still carries roots from the eMudhra incident, and the
5
+ # developer tools Apple ships (git, curl, python3) read that file, so a network
6
+ # attacker could tamper with downloads made during a release build. GitHub's macOS
7
+ # runners are ephemeral, so removing the roots at job start needs no re-application
8
+ # after OS updates. Reference: https://github.com/galadran/we-have-a-problem.com/issues/157
9
+ #
10
+ # It must run BEFORE the first step that downloads anything (actions/checkout runs
11
+ # git), so the workflows inline this exact file. A contract test keeps them identical.
12
+ #
13
+ # Matching is by certificate subject so no fingerprints need to be guessed; every
14
+ # removed certificate is printed with its SHA-256 fingerprint for the audit log, and
15
+ # the script fails if any matching certificate is still present afterwards.
16
+ #
17
+ # Environment (for tests): CA_BUNDLE (default /etc/ssl/cert.pem), SUDO (default sudo).
18
+ set -eu
19
+
20
+ bundle="${CA_BUNDLE:-/etc/ssl/cert.pem}"
21
+ sudo_cmd="${SUDO-sudo}"
22
+ work="$(mktemp -d)"
23
+ trap 'rm -rf "$work"' EXIT
24
+
25
+ matches() {
26
+ case "$1" in
27
+ *"AAA Certificate Services"* | *"emSign ECC Root CA - G3"* | *[eE][mM]udhra*) return 0 ;;
28
+ *) return 1 ;;
29
+ esac
30
+ }
31
+
32
+ total="$(grep -c -- '-----BEGIN CERTIFICATE-----' "$bundle")"
33
+ [ "$total" -ge 100 ] || { echo "refusing to edit $bundle: only $total certificates" >&2; exit 1; }
34
+
35
+ awk -v dir="$work" '
36
+ /-----BEGIN CERTIFICATE-----/ { if (out != "") close(out); n++; out = dir "/c" n ".pem" }
37
+ out != "" { print > out }
38
+ ' "$bundle"
39
+
40
+ : > "$work/clean.pem"
41
+ removed=0
42
+ i=1
43
+ while [ "$i" -le "$total" ]; do
44
+ file="$work/c$i.pem"
45
+ subject="$(openssl x509 -in "$file" -noout -subject 2>/dev/null || true)"
46
+ if [ -n "$subject" ] && matches "$subject"; then
47
+ fingerprint="$(openssl x509 -in "$file" -noout -fingerprint -sha256)"
48
+ echo "removing: $subject ($fingerprint)"
49
+ removed=$((removed + 1))
50
+ else
51
+ cat "$file" >> "$work/clean.pem"
52
+ fi
53
+ i=$((i + 1))
54
+ done
55
+
56
+ if [ "$removed" -gt 0 ]; then
57
+ $sudo_cmd tee "$bundle" < "$work/clean.pem" > /dev/null
58
+ fi
59
+
60
+ # Verify what is on disk now, not what we intended to write.
61
+ after="$(grep -c -- '-----BEGIN CERTIFICATE-----' "$bundle")"
62
+ [ "$after" -eq $((total - removed)) ] || { echo "certificate count mismatch: $after != $total - $removed" >&2; exit 1; }
63
+ rm -f "$work"/c*.pem
64
+ awk -v dir="$work" '
65
+ /-----BEGIN CERTIFICATE-----/ { if (out != "") close(out); n++; out = dir "/v" n ".pem" }
66
+ out != "" { print > out }
67
+ ' "$bundle"
68
+ for file in "$work"/v*.pem; do
69
+ subject="$(openssl x509 -in "$file" -noout -subject 2>/dev/null || true)"
70
+ if [ -n "$subject" ] && matches "$subject"; then
71
+ echo "still trusted after cleanup: $subject" >&2
72
+ exit 1
73
+ fi
74
+ done
75
+ echo "CA bundle $bundle: $total certificates, removed $removed, $after remain."
@@ -141,7 +141,7 @@ module Kettle
141
141
  details = counts.sort_by { |category, _count| category.to_s }.map do |category, count|
142
142
  " - #{category.to_s.tr("_", " ")} (#{count})"
143
143
  end
144
- ["updated #{total} project file#{"s" unless total == 1}:", *details].join("\n")
144
+ ["updated #{total} project file#{"s" unless total == 1} since the last release:", *details].join("\n")
145
145
  end
146
146
 
147
147
  def template_change_category(path)
@@ -22,6 +22,10 @@ module Kettle
22
22
  yard
23
23
  ].freeze
24
24
  GIT_OPERATION_LOCK_ENV_KEYS = %w[KETTLE_JEM_GIT_LOCK KETTLE_JEM_GIT_COMMIT_LOCK].freeze
25
+ # Identifies which (possibly nested) kettle-jem invocation made a bootstrap commit.
26
+ # Nested invocations (the bundled handoff) append their phase to the inherited one.
27
+ COMMIT_PHASE_ENV_KEY = "KETTLE_JEM_COMMIT_PHASE"
28
+ DEFAULT_COMMIT_PHASE = "install"
25
29
  GIT_OPERATION_LOCK_RETRY_ATTEMPTS = 5
26
30
  GIT_OPERATION_LOCK_RETRY_SLEEP_SECONDS = 0.25
27
31
 
@@ -29,6 +33,7 @@ module Kettle
29
33
  effective_run_options = install_run_options(env, run_options)
30
34
  config_migration_step = kettle_config_migration_step(project_root)
31
35
  effective_run_options = effective_run_options.merge(defer_drift_check: true)
36
+ predirty_paths = git_dirty_paths(project_root)
32
37
  report = Kettle::Jem.apply_project(project_root, env: env, run_options: effective_run_options)
33
38
  report = followup_apply_after_config_bootstrap(project_root, env: env, run_options: effective_run_options, report: report)
34
39
  install_steps = []
@@ -51,6 +56,8 @@ module Kettle
51
56
  install_steps << normalize_lockfile_platforms_step(project_root, env: setup_env, run_options: effective_run_options)
52
57
  install_steps << normalize_lockfile_step(project_root, env: setup_env, run_options: effective_run_options, repository: report.dig(:facts, :repository) || {})
53
58
  install_steps << bundled_handoff_step(project_root: project_root, env: env, run_options: effective_run_options)
59
+ # Must stay after the handoff: the handoff runs `bundle exec` and needs the (local-path) lock it was given.
60
+ install_steps << registry_lockfile_refresh_step(project_root, env: setup_env, run_options: effective_run_options, repository: report.dig(:facts, :repository) || {})
54
61
  install_steps = execute_orchestration_steps(install_steps, project_root: project_root, env: setup_env, run_options: effective_run_options, command_runner: command_runner)
55
62
 
56
63
  final_report = report.merge(
@@ -64,6 +71,7 @@ module Kettle
64
71
  message: "kettle:jem:install applied templates, completed local post-template checks, and executed available orchestration steps."
65
72
  }]
66
73
  )
74
+ final_report = include_post_step_changed_files(final_report, project_root, env, predirty_paths)
67
75
  final_report = Kettle::Jem::MaintenanceChangelog.record_template_run(
68
76
  project_root: project_root,
69
77
  report: final_report,
@@ -74,7 +82,7 @@ module Kettle
74
82
  report: final_report,
75
83
  run_options: effective_run_options
76
84
  )
77
- bootstrap_commit = bootstrap_commit_step(project_root, run_options: effective_run_options)
85
+ bootstrap_commit = bootstrap_commit_step(project_root, run_options: effective_run_options, env: env)
78
86
  install_steps.concat(
79
87
  execute_orchestration_steps(
80
88
  [bootstrap_commit],
@@ -785,6 +793,40 @@ module Kettle
785
793
  }
786
794
  end
787
795
 
796
+ # In local-path development mode (*_DEV / *_LOCAL env) the normalization steps above are skipped, and
797
+ # templating leaves a Gemfile.lock resolved against machine-specific PATH sources. That lock must never
798
+ # be committed, but dependency pin updates still belong in it. So: reset the lock to what is committed,
799
+ # then re-resolve against released sources with every *_DEV / *_LOCAL override switched off.
800
+ def registry_lockfile_refresh_step(project_root, env:, run_options: {}, repository: {})
801
+ return skipped_lockfile_normalization_step("registry_lockfile_refresh", "skip_lock_normalization") if Kettle::Jem::DecisionPolicy.value_to_boolean((run_options || {})[:skip_lock_normalization])
802
+ return skipped_lockfile_normalization_step("registry_lockfile_refresh", "not_local_path_development_env") unless local_path_development_env?(env)
803
+ return skipped_lockfile_normalization_step("registry_lockfile_refresh", "untracked_Gemfile.lock") unless git_success?(project_root, "ls-files", "--error-unmatch", LOCKFILE_PATH)
804
+
805
+ command_env = normal_lockfile_env(project_root, env, repository: repository)
806
+ command_env.keys.each { |key| command_env[key] = "false" if key.to_s.end_with?("_DEV", "_LOCAL") }
807
+ {
808
+ name: "registry_lockfile_refresh",
809
+ status: "ready",
810
+ env: command_env,
811
+ reason: "reset_lockfile_and_update_from_released_sources"
812
+ }
813
+ end
814
+
815
+ def execute_registry_lockfile_refresh_step(step, project_root:, quiet:, command_runner:)
816
+ return step unless step.fetch(:status) == "ready"
817
+
818
+ restore = git_success?(project_root, "checkout", "--", LOCKFILE_PATH)
819
+ return step.merge(status: "failed", reason: "could_not_reset_lockfile") unless restore
820
+
821
+ result = run_ready_step_command(step.fetch(:name), lockfile_normalization_command(project_root), project_root: project_root, env: step.fetch(:env), quiet: quiet, command_runner: command_runner)
822
+ step.merge(status: "succeeded", exitstatus: result[:exitstatus], duration_ms: result.fetch(:duration_ms), reason: "executed")
823
+ rescue Kettle::Jem::Error => error
824
+ # Unreleased family floors can make a registry-only resolve impossible. Leave the committed lock untouched
825
+ # rather than leaving the working tree dirty or committing local paths.
826
+ git_success?(project_root, "checkout", "--", LOCKFILE_PATH)
827
+ step.merge(status: "failed", reason: "registry_resolution_failed_lockfile_reset", stderr: error.message)
828
+ end
829
+
788
830
  def normalize_lockfile_platforms_step(project_root, env:, run_options: {})
789
831
  return skipped_lockfile_normalization_step("lockfile_platform_normalization", "skip_lock_normalization") if Kettle::Jem::DecisionPolicy.value_to_boolean((run_options || {})[:skip_lock_normalization])
790
832
  return skipped_lockfile_normalization_step("lockfile_platform_normalization", "local_path_development_env") if local_path_development_env?(env)
@@ -1001,7 +1043,7 @@ module Kettle
1001
1043
  command_env = (env || {}).to_h.dup
1002
1044
  strip_inherited_bundler_activation!(command_env)
1003
1045
  command_env["K_JEM_TEMPLATING"] = "false"
1004
- %w[KETTLE_DEV_DEV GALTZO_FLOSS_DEV STRUCTUREDMERGE_DEV].each do |key|
1046
+ %w[KETTLE_DEV_DEV GALTZO_FLOSS_DEV STRUCTUREDMERGE_DEV STRUCTUREDMERGE_CORE_DEV].each do |key|
1005
1047
  command_env[key] = "false" if command_env.key?(key)
1006
1048
  end
1007
1049
  gemfile = File.join(project_root.to_s, "Gemfile")
@@ -1264,6 +1306,8 @@ module Kettle
1264
1306
  execute_ready_command_step(step, project_root: project_root, env: env, quiet: quiet, command_runner: command_runner)
1265
1307
  when "lockfile_platform_normalization"
1266
1308
  execute_lockfile_platform_normalization_step(step, project_root: project_root)
1309
+ when "registry_lockfile_refresh"
1310
+ execute_registry_lockfile_refresh_step(step, project_root: project_root, quiet: quiet, command_runner: command_runner)
1267
1311
  when "rubocop_lts_local_branch"
1268
1312
  execute_ready_command_step(step, project_root: project_root, env: env, quiet: quiet, command_runner: command_runner)
1269
1313
  when "bundle_install_requested_env"
@@ -1829,12 +1873,48 @@ module Kettle
1829
1873
  {
1830
1874
  name: "bundled_handoff",
1831
1875
  command: bundled_handoff_command(run_options),
1876
+ env: setup_command_env(project_root, env).merge(
1877
+ COMMIT_PHASE_ENV_KEY => "#{commit_phase(env)}>bundled_handoff"
1878
+ ),
1832
1879
  status: "ready",
1833
1880
  reason: "ready_for_orchestration"
1834
1881
  }
1835
1882
  end
1836
1883
 
1837
- def bootstrap_commit_step(project_root, run_options:)
1884
+ LOCKFILE_PATH = "Gemfile.lock"
1885
+
1886
+ # Files changed by post-template steps (binstubs, lockfiles, ...) that the apply report does not know about.
1887
+ def include_post_step_changed_files(report, project_root, env, predirty_paths)
1888
+ extra = git_dirty_paths(project_root) - predirty_paths
1889
+ extra -= [LOCKFILE_PATH] if local_path_lockfile_to_restore?(project_root, env)
1890
+ return report if extra.empty?
1891
+
1892
+ report.merge(changed_files: (Array(report[:changed_files]) + extra).uniq.sort)
1893
+ end
1894
+
1895
+ def git_dirty_paths(project_root)
1896
+ git_output(project_root, "status", "--porcelain", "-z", "--untracked-files=all")
1897
+ .split("\0").map { |entry| entry[3..] }.compact.reject(&:empty?).sort
1898
+ end
1899
+
1900
+ # A Gemfile.lock resolved in local-path development mode (*_DEV / *_LOCAL env) embeds
1901
+ # absolute `remote: /...` PATH sources from the machine that ran templating. It must not be committed.
1902
+ def local_path_lockfile_to_restore?(project_root, env)
1903
+ return false unless local_path_development_env?(env)
1904
+ return false unless git_success?(project_root, "ls-files", "--error-unmatch", LOCKFILE_PATH)
1905
+ return false if git_success?(project_root, "diff", "--quiet", "--", LOCKFILE_PATH)
1906
+
1907
+ File.foreach(File.join(project_root.to_s, LOCKFILE_PATH)).any? { |line| line.match?(/\A\s+remote: \//) }
1908
+ rescue Errno::ENOENT
1909
+ false
1910
+ end
1911
+
1912
+ def commit_phase(env)
1913
+ phase = (env || {})[COMMIT_PHASE_ENV_KEY].to_s.strip
1914
+ phase.empty? ? DEFAULT_COMMIT_PHASE : phase
1915
+ end
1916
+
1917
+ def bootstrap_commit_step(project_root, run_options:, env: ENV)
1838
1918
  if Kettle::Jem::DecisionPolicy.value_to_boolean((run_options || {})[:skip_commit])
1839
1919
  return {
1840
1920
  name: "bootstrap_commit",
@@ -1851,7 +1931,9 @@ module Kettle
1851
1931
  }
1852
1932
  end
1853
1933
 
1934
+ restore_lockfile = local_path_lockfile_to_restore?(project_root, env)
1854
1935
  dirty_entries = git_output(project_root, "status", "--porcelain").lines.map(&:chomp).reject(&:empty?)
1936
+ committable_entries = restore_lockfile ? dirty_entries.reject { |entry| entry[3..] == LOCKFILE_PATH } : dirty_entries
1855
1937
  if dirty_entries.empty?
1856
1938
  return {
1857
1939
  name: "bootstrap_commit",
@@ -1861,15 +1943,26 @@ module Kettle
1861
1943
  end
1862
1944
 
1863
1945
  commands = []
1946
+ commands << ["git", "checkout", "--", LOCKFILE_PATH] if restore_lockfile
1947
+ if committable_entries.empty?
1948
+ return {
1949
+ name: "bootstrap_commit",
1950
+ status: "ready",
1951
+ dirty_entries: dirty_entries,
1952
+ commands: commands,
1953
+ restored_lockfile: LOCKFILE_PATH,
1954
+ reason: "restored_local_path_lockfile_only"
1955
+ }
1956
+ end
1864
1957
  commands << %w[git add -A -- .]
1865
- commands << ["git", "commit", "-m", "🎨 Template bootstrap by kettle-jem v#{Kettle::Jem::Version::VERSION}"]
1958
+ commands << ["git", "commit", "-m", "chore(templates): 🎨 bootstrap by kettle-jem v#{Kettle::Jem::Version::VERSION} [phase: #{commit_phase(env)}]"]
1866
1959
  {
1867
1960
  name: "bootstrap_commit",
1868
1961
  status: "ready",
1869
1962
  dirty_entries: dirty_entries,
1870
1963
  commands: commands,
1871
1964
  reason: "ready_for_orchestration"
1872
- }
1965
+ }.tap { |step| step[:restored_lockfile] = LOCKFILE_PATH if restore_lockfile }
1873
1966
  end
1874
1967
 
1875
1968
  def git_success?(project_root, *args)
@@ -22,4 +22,14 @@ Duel.configure do |c|
22
22
  # :results (passed or failed), :failures (failed, or couldn't compare),
23
23
  # or :never.
24
24
  # c.comment = :failures
25
+
26
+ # Which runs a regression fails: :every_run, or :pull_requests.
27
+ # c.fail_on = :every_run
28
+
29
+ # A pull request with this label accepts a regression.
30
+ c.accept_label = "duel: accept"
31
+
32
+ # Compare pushes with the last commit Duel passed, so small regressions
33
+ # accumulate. To accept one, run: git push origin main:duel/passed/main
34
+ c.push_base = :last_passed
25
35
  end
@@ -19,8 +19,10 @@ begin
19
19
  require "gitmoji/regex"
20
20
 
21
21
  full_text = File.read(ARGV[0])
22
- # Is the first character a GitMoji?
23
- gitmoji_index = full_text =~ Gitmoji::Regex::REGEX
22
+ # A Conventional Commit prefix may precede the Gitmoji in the subject.
23
+ subject = full_text.lines.first.to_s
24
+ subject = subject.sub(/\A[a-zA-Z][a-zA-Z0-9-]*(?:\([^\s()]+\))?!?: /, "")
25
+ gitmoji_index = subject =~ Gitmoji::Regex::REGEX
24
26
  if gitmoji_index == 0
25
27
  exit(0)
26
28
  else
@@ -37,12 +39,10 @@ begin
37
39
 
38
40
 
39
41
  Did you forget to add a relevant gitmoji? (see https://gitmoji.dev/ for tools)
40
- In this project, a Gitmoji must be the first grapheme of the commit message.
41
- What's a grapheme?
42
- A symbol rendered to be visually identifiable as a single character, but which may be composed of multiple Unicode code points)
42
+ A Gitmoji must start the subject, or follow a Conventional Commit prefix.
43
43
  Must match: #{Gitmoji::Regex::REGEX}
44
44
  #{"Found a gitmoji at character index #{gitmoji_index}... not good enough.\n" if gitmoji_index}
45
- Example: git commit -m "✨ My excellent new feature"
45
+ Example: git commit -m "feat(core): ✨ add feature"
46
46
 
47
47
  EOM
48
48
  puts denied
@@ -1,8 +1,14 @@
1
1
  🔖 Prepare release v
2
2
  🔒️ Checksums for v
3
+ chore(release): 🔖 prepare release v
4
+ chore(checksums): 🔒️ update checksums for v
5
+ chore(deps): 🔒️ update Bundler lockfiles
3
6
 
4
7
  # Lines beginning with # are ignored.
5
8
  # This file is read by .git-hooks/prepare-commit-msg in each project.
6
9
  # Each line of this file will be matched against the commit subject using `starts_with?`.
7
10
  # If any `starts_with?` match the project script bin/prepare-commit-msg will run.
8
- # 🔒️ Checksums for v is the standard commit message by stone_checksums.
11
+ # Both emoji-first (legacy tools) and Conventional Commit prefixed subjects are listed,
12
+ # so footer appending keeps working while generated subjects migrate to the prefixed format.
13
+ # 🔒️ Checksums for v is the standard commit message by stone_checksums < 1.0.10;
14
+ # stone_checksums >= 1.0.10 generates chore(checksums): 🔒️ update checksums for v.
@@ -63,7 +63,7 @@ jobs:
63
63
  persist-credentials: false
64
64
 
65
65
  - name: Setup Ruby & RubyGems
66
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
66
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
67
67
  with:
68
68
  ruby-version: "${{ matrix.ruby }}"
69
69
  rubygems: "${{ matrix.rubygems }}"
@@ -41,13 +41,13 @@ jobs:
41
41
  {KJ|CI:OS_MATRIX_ENTRIES}
42
42
 
43
43
  steps:
44
- - name: Checkout
44
+ {KJ|CI:MACOS_HARDENING_STEP} - name: Checkout
45
45
  uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
46
46
  with:
47
47
  persist-credentials: false
48
48
 
49
49
  - name: Setup Ruby & RubyGems
50
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 bundle validation and compatibility installation
50
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 bundle validation and compatibility installation
51
51
  with:
52
52
  ruby-version: ${{ matrix.ruby }}
53
53
  rubygems: ${{ matrix.rubygems }}
@@ -64,7 +64,7 @@ jobs:
64
64
 
65
65
  - name: Setup Ruby & RubyGems
66
66
  if: ${{ !env.ACT }}
67
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
67
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
68
68
  with:
69
69
  ruby-version: ${{ matrix.ruby }}
70
70
  rubygems: ${{ matrix.rubygems }}
@@ -137,7 +137,7 @@ jobs:
137
137
 
138
138
  - name: Setup Ruby & RubyGems
139
139
  if: ${{ !env.ACT }}
140
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
140
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
141
141
  with:
142
142
  ruby-version: ${{ matrix.ruby }}
143
143
  rubygems: ${{ matrix.rubygems }}
@@ -216,7 +216,7 @@ jobs:
216
216
 
217
217
  - name: Setup Ruby & RubyGems
218
218
  if: ${{ !env.ACT }}
219
- uses: appraisal-rb/setup-ruby-flash@6f8ad36ba7488db591541483afb5464d01e8861b # v2.14 compatibility bundle installation
219
+ uses: appraisal-rb/setup-ruby-flash@b04c0c9f2e443c909968abc828a0b53e77567cf9 # v2.15 compatibility bundle installation
220
220
  with:
221
221
  ruby-version: ${{ matrix.ruby }}
222
222
  rubygems: ${{ matrix.rubygems }}
@@ -19,4 +19,4 @@ jobs:
19
19
  with:
20
20
  persist-credentials: false
21
21
  - name: 'Dependency Review'
22
- uses: actions/dependency-review-action@a1d282b36b6f3519aa1f3fc636f609c47dddb294 # v5.0.0
22
+ uses: actions/dependency-review-action@bbc44d14a204704ccc493733616cd1e93a0321ec # v5.0.1