Skip to content

Conversation

@mdelapenya
Copy link
Member

What does this PR do?

It sets the GH_TOKEN env var in the usage-metrics GH workflow

Why is it important?

Else, the gh tool is unable to authenticate and talk to the search API

Related issues

@mdelapenya mdelapenya requested a review from a team as a code owner November 25, 2025 11:15
@netlify
Copy link

netlify bot commented Nov 25, 2025

Deploy Preview for testcontainers-go ready!

Name Link
🔨 Latest commit 3d9b95a
🔍 Latest deploy log https://app.netlify.com/projects/testcontainers-go/deploys/69258fe6ce09be0008db62c5
😎 Deploy Preview https://deploy-preview-3498--testcontainers-go.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mdelapenya mdelapenya self-assigned this Nov 25, 2025
@coderabbitai
Copy link

coderabbitai bot commented Nov 25, 2025

Caution

Review failed

The pull request is closed.

Summary by CodeRabbit

  • Chores
    • Updated workflow configuration to enhance authentication handling for internal processes.

✏️ Tip: You can customize this high-level summary in your review settings.

Walkthrough

An environment variable GH_TOKEN was added to the GitHub Actions workflow at the workflow level, assigned to secrets.GITHUB_TOKEN. No modifications to workflow structure, permissions, jobs, or control flow were made.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow Configuration
\\.github/workflows/usage-metrics.yml
Added GH_TOKEN environment variable at workflow level wired to secrets.GITHUB_TOKEN

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A token finds its way so bright,
To secrets safe, no longer shy—
The workflow breathes a breath of might,
As GH_TOKEN says: "Here am I!" ✨

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f748575 and 3d9b95a.

📒 Files selected for processing (1)
  • .github/workflows/usage-metrics.yml (1 hunks)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mdelapenya mdelapenya added github_actions Pull requests that update GitHub Actions code chore Changes that do not impact the existing functionality labels Nov 25, 2025
@mdelapenya mdelapenya merged commit c31cec0 into testcontainers:main Nov 25, 2025
14 of 15 checks passed
@mdelapenya mdelapenya deleted the fix-metrics-auth-token branch November 25, 2025 11:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore Changes that do not impact the existing functionality github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant