-
Notifications
You must be signed in to change notification settings - Fork 0
🩹 [Patch]: Replace secrets inheritance with explicit secret passing #137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR improves workflow security by replacing unconditional secrets: inherit with explicit secret passing in the Process-PSModule workflow, addressing a zizmor security linting warning flagged in issue #136.
Changes:
- Updated
.github/workflows/Process-PSModule.ymlto explicitly pass only the requiredAPIKeysecret instead of inheriting all repository secrets
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Module GoogleFonts - 1.0.103 published to the PowerShell Gallery. |
|
GitHub release for GoogleFonts v1.0.103 has been created. |
Improves workflow security by replacing unconditional
secrets: inheritwith explicit secret passing in the Process-PSModule workflow. This follows the principle of least privilege by only passing the requiredAPIKeysecret instead of exposing all repository secrets to the reusable workflow.Changes
.github/workflows/Process-PSModule.yml: Changed fromsecrets: inheritto explicitly passing only the requiredAPIKeysecret usingAPIKey: ${{ secrets.APIKey }}.Benefits