ci: rename PS_GALLERY_KEY secret reference to PSGALLERY_API_KEY#51
Conversation
The env var fed to build.ps1 is already named PSGALLERY_API_KEY; this brings the GitHub Actions secret name into the same convention. The new PSGALLERY_API_KEY secret has been pre-populated with the same value as PS_GALLERY_KEY so the next publish will succeed without intervention. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the PowerShell Gallery publish workflow to reference the renamed GitHub Actions secret (PSGALLERY_API_KEY) instead of the legacy (PS_GALLERY_KEY), aligning this repo with the upstream template convention while keeping the environment variable passed to build.ps1 unchanged.
Changes:
- Updated
.github/workflows/PublishModuleToPowerShellGallery.yamlto read the API key fromsecrets.PSGALLERY_API_KEY. - Kept the exported environment variable name (
PSGALLERY_API_KEY) the same for compatibility with the existing publish script invocation.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
PublishModuleToPowerShellGallery.yamlto read fromsecrets.PSGALLERY_API_KEYinstead ofsecrets.PS_GALLERY_KEY, matching the convention established in PowerShellModuleTemplate (PR upstream-template#25).build.ps1(PSGALLERY_API_KEY) is unchanged.PSGALLERY_API_KEYsecret has been added with the same value as the existingPS_GALLERY_KEYsecret, so the next publish workflow run will succeed.PS_GALLERY_KEYsecret will be deleted after this PR merges.Test plan
PS_GALLERY_KEYrepo secret deleted🤖 Generated with Claude Code