Skip to content

[pull] master from ruby:master#900

Merged
pull[bot] merged 14 commits intoturkdevops:masterfrom
ruby:master
Mar 31, 2026
Merged

[pull] master from ruby:master#900
pull[bot] merged 14 commits intoturkdevops:masterfrom
ruby:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Mar 31, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

byroot and others added 14 commits March 31, 2026 01:25
(ruby/strscan#201)

GC compaction was introduced in Ruby 2.7.

Embedded Structs was introduced in Ruby 3.3. When enabled, the `struct
strscanner` is stored directly inside the object slot, meaning reading
the struct member doesn't require loading another memory region.

ruby/strscan@a018cbe40e
Singleton classes don't need to be iterated in the subclasses list, we
only need to know that a subclass exists so that we can use the "method
entry" path for invalidation.
Bumps the github-actions group with 1 update in the / directory: [taiki-e/install-action](https://github.com/taiki-e/install-action).


Updates `taiki-e/install-action` from 2.70.2 to 2.70.3
- [Release notes](https://github.com/taiki-e/install-action/releases)
- [Changelog](https://github.com/taiki-e/install-action/blob/main/CHANGELOG.md)
- [Commits](taiki-e/install-action@e9e8e03...6ef672e)

---
updated-dependencies:
- dependency-name: taiki-e/install-action
  dependency-version: 2.70.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
All committers with write access to this repository are trusted,
and fork PRs cannot access secrets by default. There is no threat
model that environment-scoped secrets would mitigate here.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
CodeQL's Ruby extractor cannot parse UTF-16 encoded fixtures,
TRICK entries, and some edge-case syntax in test files, causing
84 parse error warnings. These directories (spec/, test/, sample/,
benchmark/) are not relevant for security scanning.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Restrict the default GITHUB_TOKEN permissions to contents:read
for workflows that had no top-level permissions block, as flagged
by Scorecard's TokenPermissionsID check.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The commit SHAs did not match their version comment tags, as
flagged by zizmor ref-version-mismatch. Update all three actions
to their latest releases with correct SHAs.

- actions/setup-python v5.0.0 -> v5.6.0
- actions/setup-java v4.0.0 -> v4.8.0
- gacts/run-and-post-run v1.4.0 -> v1.4.3

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Replace @master reference with the pinned commit SHA for v6.1,
and remove cygwin.yml from the zizmor unpinned-uses ignore list
since it is now properly pinned.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These four workflows now have explicit top-level permissions set
to contents:read, so the excessive-permissions finding no longer
applies.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The github-script step calls the Actions API to list workflow runs
and download artifacts, which requires actions:read permission.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Keep test/ and spec/ in CodeQL analysis for better SAST coverage.
Only exclude directories containing intentionally unparseable files
such as UTF-16 encoded fixtures and bad syntax test fixtures.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These test files, specs, and trace_point.rb contain intentionally
invalid syntax or special constructs that CodeQL's parser cannot
handle. They are not security-relevant and should be excluded from
analysis.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@pull pull bot locked and limited conversation to collaborators Mar 31, 2026
@pull pull bot added the ⤵️ pull label Mar 31, 2026
@pull pull bot merged commit a08f547 into turkdevops:master Mar 31, 2026
0 of 2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants