Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 23, 2026

Improves workflow security by replacing unconditional secrets: inherit with explicit secret passing in the Process-PSModule workflow. This follows the principle of least privilege by only passing the required APIKey secret instead of exposing all repository secrets to the reusable workflow.

Changes

  1. Updated .github/workflows/Process-PSModule.yml: Changed from secrets: inherit to explicitly passing only the required APIKey secret using APIKey: ${{ secrets.APIKey }}.

Benefits

  • Reduces risk of unintended secret exposure to reusable workflows
  • Follows GitHub Actions security best practices
  • Addresses zizmor security linting warnings
  • No functional changes - the workflow continues to operate identically

Copilot AI and others added 3 commits January 23, 2026 09:43
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>
Copilot AI changed the title [WIP] Fix unconditional secrets inheritance warning in Process-PSModule workflow Fix unconditional secrets inheritance in Process-PSModule workflow Jan 23, 2026
Copilot AI requested a review from MariusStorhaug January 23, 2026 09:46
@MariusStorhaug MariusStorhaug changed the title Fix unconditional secrets inheritance in Process-PSModule workflow 🩹[Patch]: Fix unconditional secrets inheritance in Process-PSModule workflow Jan 23, 2026
@MariusStorhaug MariusStorhaug added the Patch Fixes bugs or adds small fixes to existing functionality label Jan 23, 2026
Co-authored-by: MariusStorhaug <17722253+MariusStorhaug@users.noreply.github.com>
Copilot AI requested a review from MariusStorhaug January 23, 2026 10:33
@MariusStorhaug MariusStorhaug changed the title 🩹[Patch]: Fix unconditional secrets inheritance in Process-PSModule workflow 🩹 [Patch]: Replace secrets inheritance with explicit secret passing Jan 23, 2026
@MariusStorhaug MariusStorhaug marked this pull request as ready for review January 23, 2026 11:01
Copilot AI review requested due to automatic review settings January 23, 2026 11:01
@MariusStorhaug MariusStorhaug merged commit e74fb5d into main Jan 23, 2026
44 checks passed
@MariusStorhaug MariusStorhaug deleted the copilot/fix-secrets-inheritance-warning branch January 23, 2026 11:03
Copy link

Copilot AI left a 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.yml to explicitly pass only the required APIKey secret instead of inheriting all repository secrets

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Contributor

Module GoogleFonts - 1.0.103 published to the PowerShell Gallery.

@github-actions
Copy link
Contributor

GitHub release for GoogleFonts v1.0.103 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Patch Fixes bugs or adds small fixes to existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🩹[Patch]: Fix unconditional secrets inheritance warning in Process-PSModule workflow

2 participants