Skip to content

action-allowlist-review: bump rubygems/configure-rubygems-credentials from 1.0.0 to 2.0.0 in /.github/actions/for-dependabot-triggered-reviews#795

Merged
potiuk merged 1 commit intomainfrom
dependabot/github_actions/dot-github/actions/for-dependabot-triggered-reviews/rubygems/configure-rubygems-credentials-2.0.0
May 4, 2026
Merged

action-allowlist-review: bump rubygems/configure-rubygems-credentials from 1.0.0 to 2.0.0 in /.github/actions/for-dependabot-triggered-reviews#795
potiuk merged 1 commit intomainfrom
dependabot/github_actions/dot-github/actions/for-dependabot-triggered-reviews/rubygems/configure-rubygems-credentials-2.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 3, 2026

Bumps rubygems/configure-rubygems-credentials from 1.0.0 to 2.0.0.

Release notes

Sourced from rubygems/configure-rubygems-credentials's releases.

v2.0.0

What's Changed

New Contributors

Full Changelog: rubygems/configure-rubygems-credentials@v1.0.0...v2.0.0

Commits
  • 762a4b7 Exclude dependabot updates from release note
  • 720fbb1 Merge pull request #401 from rubygems/dependabot/npm_and_yarn/types/node-25.6.0
  • 7609dc5 Merge pull request #400 from rubygems/dependabot/npm_and_yarn/typescript-esli...
  • 97eb064 Bump @​types/node from 22.9.1 to 25.6.0
  • 3561a05 Bump @​typescript-eslint/parser from 8.58.2 to 8.59.1
  • cb08873 Merge pull request #394 from rubygems/dependabot/github_actions/zizmorcore/zi...
  • aa6ce95 Merge pull request #395 from rubygems/dependabot/github_actions/github/codeql...
  • 83bda94 Merge pull request #396 from rubygems/dependabot/npm_and_yarn/eslint-plugin-j...
  • a44a37c Merge pull request #397 from rubygems/dependabot/github_actions/actions/setup...
  • c99d6f3 Bump actions/setup-node from 6.3.0 to 6.4.0
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code labels May 3, 2026
@dependabot dependabot Bot requested a review from dfoulks1 as a code owner May 3, 2026 13:17
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 3, 2026
@dependabot dependabot Bot requested a review from potiuk as a code owner May 3, 2026 13:17
@dependabot dependabot Bot added the github_actions Pull requests that update GitHub Actions code label May 3, 2026
@potiuk
Copy link
Copy Markdown
Member

potiuk commented May 4, 2026

@dependabot rebase

@dependabot dependabot Bot force-pushed the dependabot/github_actions/dot-github/actions/for-dependabot-triggered-reviews/rubygems/configure-rubygems-credentials-2.0.0 branch from f9213c5 to 3fe8811 Compare May 4, 2026 00:05
Copy link
Copy Markdown
Member

@ppkarwasz ppkarwasz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this action is:

  • Signed by a core team member if RubyGems,
  • The code (much shorter than the diff) looks good,
  • The invocations of HttpClient are false positives and are used for API calls, not downloads.

@potiuk
Copy link
Copy Markdown
Member

potiuk commented May 4, 2026

LGTM, this action is:

  • Signed by a core team member if RubyGems,
  • The code (much shorter than the diff) looks good,
  • The invocations of HttpClient are false positives and are used for API calls, not downloads.

Agree. Let me add a fix to detect those cases as false positives.

@potiuk
Copy link
Copy Markdown
Member

potiuk commented May 4, 2026

Ah yeah the false positive was fixed in #790 -> let me rebase and hopefully this one gets green.

@potiuk
Copy link
Copy Markdown
Member

potiuk commented May 4, 2026

@dependabot rebase

Bumps [rubygems/configure-rubygems-credentials](https://github.com/rubygems/configure-rubygems-credentials) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/rubygems/configure-rubygems-credentials/releases)
- [Commits](rubygems/configure-rubygems-credentials@bc6dd21...762a4b7)

---
updated-dependencies:
- dependency-name: rubygems/configure-rubygems-credentials
  dependency-version: 2.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/github_actions/dot-github/actions/for-dependabot-triggered-reviews/rubygems/configure-rubygems-credentials-2.0.0 branch from 3fe8811 to fb022a6 Compare May 4, 2026 08:27
@potiuk
Copy link
Copy Markdown
Member

potiuk commented May 4, 2026

Ah... Typescript typing 🤦 - fixed detection in #798

@potiuk
Copy link
Copy Markdown
Member

potiuk commented May 4, 2026

It passes the test with #798:

image

@potiuk potiuk merged commit 38dd1d3 into main May 4, 2026
9 of 10 checks passed
@potiuk potiuk deleted the dependabot/github_actions/dot-github/actions/for-dependabot-triggered-reviews/rubygems/configure-rubygems-credentials-2.0.0 branch May 4, 2026 09:07
potiuk added a commit that referenced this pull request May 5, 2026
…calls

Commit 920d616 added postJson/getJson/etc. as data-parse markers but the
regex required `(` directly after `Json`. The real call site in
rubygems/configure-rubygems-credentials v2.0.0 is `http.postJson<IdToken>(...)`
— the TypeScript generic between `Json` and `(` defeated the match, so PR
#795 still showed both src/oidc/assumeRole.ts and trustedPublisher.ts as
unverified downloads.

Allow an optional `<...>` between `Json` and `(`, and tighten the
RUBYGEMS_OIDC_EXCHANGE fixture so it mirrors the v2.0.0 source verbatim
(including the generic and IdTokenSchema.parse on the result). The fixture
omitting the generic was the crack the original fix slipped through.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants