Releases: PSModule/GitHub-Script
v1.7.8
🩹 [Patch]: Remove output access hints from logs (#55)
Removes the output access hint text from the action logs to avoid confusion when the action is used directly or nested in another composite action. The output grouping and output content display remain unchanged.
- Fixes #54
Changes
- Remove access-hint printing in
scripts/outputs.ps1 - Simplify composite output test by removing access-pattern demo and help-text validation
Rationale
The access pattern differs for direct vs nested usage, so printed hints can be misleading. Removing the hint avoids confusion while still showing the output values.
v1.7.7
🩹[Patch]: CI and workflow maintenance updates (#76)
This release updates CI and workflow maintenance for the GitHub-Script action.
Changes
- Super-linter updated to v8.3.2 and Biome format validation disabled for this repo.
- Checkout action pins refreshed across workflows.
- Dependabot schedule moved to daily with a 7‑day cooldown.
- Action test workflows now pass explicit secrets instead of inheriting.
- Auto-Release workflow now runs on pull_request events.
Notes
- No changes to action.yml behavior or runtime output.
v1.7.6
Bumps azure/login from v2.2.0 to v2.3.0 (#70)
Bumps azure/login from v2.2.0 to v2.3.0.
Changes
- Updated version comment to use patch-level semver (
# v2.3.0instead of# v2) - Updated PR title and description to reference semver versions
# Before
uses: azure/login@1384c340ab2dda50fed2bee3041d1d87018aa5e8 # v2
# After
uses: azure/login@a457da9ea143d694b1b9c7c869ebb04ebe844ef5 # v2.3.0💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.
v1.7.5
Bump super-linter/super-linter from 8.2.1 to 8.3.0 (#69)
Bumps super-linter/super-linter from 8.2.1 to 8.3.0.
Release notes
Sourced from super-linter/super-linter's releases.
v8.3.0
8.3.0 (2025-11-28)
🚀 Features
- add ability to specify config files for nbqa tools (#7184) (b37c1c3)
- lint dependabot, github actions with zizmor (#7241) (09306cd), closes #7137
- support rust 2024 (#7211) (c15ee6d), closes #7139
🐛 Bugfixes
⬆️ Dependency updates
- bundler: bump rubocop in /dependencies in the rubocop group (#7188) (74b2444)
- bundler: bump rubocop-rails in /dependencies in the rubocop group (#7231) (dd55c52)
- bundler: bump the rubocop group in /dependencies with 2 updates (#7178) (3bdc919)
- bundler: bump the rubocop group in /dependencies with 4 updates (#7202) (0e09528)
- docker: bump python in the docker-base-images group (#7123) (41c3da1)
- docker: bump the docker group across 1 directory with 12 updates (#7235) (b1cf27d)
- docker: bump the docker group across 1 directory with 6 updates (#7148) (76149cf)
- docker: bump the docker group across 1 directory with 9 updates (#7194) (45f731e)
- npm: bump
@babel/eslint-parserin /dependencies (#7183) (197eb88)- npm: bump
@typescript-eslint/eslint-plugin(#7127) (2d57f06)- npm: bump
@typescript-eslint/eslint-plugin(#7196) (033ea99)- npm: bump body-parser from 2.2.0 to 2.2.1 in /dependencies (#7238) (30403f6)
- npm: bump eslint from 9.37.0 to 9.38.0 in /dependencies (#7170) (b42af6f)
- npm: bump eslint from 9.38.0 to 9.39.0 in /dependencies (#7191) (0cf22c8)
- npm: bump eslint from 9.39.0 to 9.39.1 in /dependencies (#7197) (513ae8b)
- npm: bump eslint-plugin-react-hooks (#7180) (61e4208)
- npm: bump js-yaml from 3.14.1 to 3.14.2 in /dependencies (#7210) (29faa98)
- npm: bump npm-groovy-lint from 15.2.1 to 15.2.2 in /dependencies (#7130) (4913825)
- npm: bump renovate from 41.142.0 to 41.146.5 in /dependencies (#7134) (900b973)
- npm: bump renovate from 41.151.1 to 41.161.0 in /dependencies (#7182) (1d8c2a2)
- npm: bump renovate from 41.161.0 to 42.4.0 in /dependencies (#7198) (0a4ed30)
- npm: bump the eslint-plugins-configs group across 1 directory with 2 updates (#7145) (c137ca9)
- npm: bump the npm group across 1 directory with 2 updates (#7175) (f0b0ff5)
- npm: bump the npm group across 1 directory with 3 updates (#7146) (d4d3f16)
- npm: bump the npm group across 1 directory with 3 updates (#7195) (ad4f63c)
- npm: bump the npm group across 1 directory with 5 updates (#7233) (5cadbf1)
- npm: bump the npm group across 1 directory with 8 updates (#7221) (3802c52)
- npm: bump the react group across 1 directory with 2 updates (#7190) (d6c8078)
- npm: bump the react group across 1 directory with 4 updates (
v1.7.4
Bump actions/checkout from 5 to 6 (#67)
Bumps actions/checkout from 5 to 6.
Release notes
Sourced from actions/checkout's releases.
v6.0.0
What's Changed
- Update README to include Node.js 24 support details and requirements by
@salmanmkcin actions/checkout#2248- Persist creds to a separate file by
@ericsciplein actions/checkout#2286- v6-beta by
@ericsciplein actions/checkout#2298- update readme/changelog for v6 by
@ericsciplein actions/checkout#2311Full Changelog: actions/checkout@v5.0.0...v6.0.0
v6-beta
What's Changed
Updated persist-credentials to store the credentials under
$RUNNER_TEMPinstead of directly in the local git config.This requires a minimum Actions Runner version of v2.329.0 to access the persisted credentials for Docker container action scenarios.
v5.0.1
What's Changed
- Port v6 cleanup to v5 by
@ericsciplein actions/checkout#2301Full Changelog: actions/checkout@v5...v5.0.1
Changelog
Sourced from actions/checkout's changelog.
Changelog
V6.0.0
- Persist creds to a separate file by
@ericsciplein actions/checkout#2286- Update README to include Node.js 24 support details and requirements by
@salmanmkcin actions/checkout#2248V5.0.1
- Port v6 cleanup to v5 by
@ericsciplein actions/checkout#2301V5.0.0
- Update actions checkout to use node 24 by
@salmanmkcin actions/checkout#2226V4.3.1
- Port v6 cleanup to v4 by
@ericsciplein actions/checkout#2305V4.3.0
- docs: update README.md by
@motssin actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismailin actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwellsin actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgrossin actions/checkout#2044- Update README.md by
@nebuk89in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuangin actions/checkout#2224- Update package dependencies by
@salmanmkcin actions/checkout#2236v4.2.2
url-helper.tsnow leverages well-known environment variables by@jww3in actions/checkout#1941- Expand unit test coverage for
isGhesby@jww3in actions/checkout#1946v4.2.1
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoyin actions/checkout#1924v4.2.0
- Add Ref and Commit outputs by
@lucacomein actions/checkout#1180- Dependency updates by
@dependabot- actions/checkout#1777, actions/checkout#1872v4.1.7
- Bump the minor-npm-dependencies group across 1 directory with 4 updates by
@dependabotin actions/checkout#1739- Bump actions/checkout from 3 to 4 by
@dependabotin actions/checkout#1697- Check out other refs/* by commit by
@orhantoyin actions/checkout#1774- Pin actions/checkout's own workflows to a known, good, stable version. by
@jww3in actions/checkout#1776v4.1.6
- Check platform to set archive extension appropriately by
@cory-millerin actions/checkout#1732v4.1.5
- Update NPM dependencies by
@cory-millerin actions/checkout#1703- Bump github/codeql-action from 2 to 3 by
@dependabotin actions/checkout#1694- Bump actions/setup-node from 1 to 4 by
@dependabotin actions/checkout#1696- Bump actions/upload-artifact from 2 to 4 by
@dependabotin actions/checkout#1695
... (truncated)
Commits
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-d...
v1.7.3
Bump actions/checkout from 4 to 5 (#66)
Bumps actions/checkout from 4 to 5.
Release notes
Sourced from actions/checkout's releases.
v5.0.0
What's Changed
- Update actions checkout to use node 24 by
@salmanmkcin actions/checkout#2226- Prepare v5.0.0 release by
@salmanmkcin actions/checkout#2238
⚠️ Minimum Compatible Runner Versionv2.327.1
Release NotesMake sure your runner is updated to this version or newer to use this release.
Full Changelog: actions/checkout@v4...v5.0.0
v4.3.0
What's Changed
- docs: update README.md by
@motssin actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismailin actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwellsin actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgrossin actions/checkout#2044- Update README.md by
@nebuk89in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuangin actions/checkout#2224- Update package dependencies by
@salmanmkcin actions/checkout#2236- Prepare release v4.3.0 by
@salmanmkcin actions/checkout#2237New Contributors
@motssmade their first contribution in actions/checkout#1971@mouismailmade their first contribution in actions/checkout#1977@benwellsmade their first contribution in actions/checkout#2043@nebuk89made their first contribution in actions/checkout#2194@salmanmkcmade their first contribution in actions/checkout#2236Full Changelog: actions/checkout@v4...v4.3.0
v4.2.2
What's Changed
url-helper.tsnow leverages well-known environment variables by@jww3in actions/checkout#1941- Expand unit test coverage for
isGhesby@jww3in actions/checkout#1946Full Changelog: actions/checkout@v4.2.1...v4.2.2
v4.2.1
What's Changed
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoyin actions/checkout#1924New Contributors
@Jcambassmade their first contribution in actions/checkout#1919Full Changelog: actions/checkout@v4.2.0...v4.2.1
... (truncated)
Changelog
Sourced from actions/checkout's changelog.
Changelog
V5.0.0
- Update actions checkout to use node 24 by
@salmanmkcin actions/checkout#2226V4.3.0
- docs: update README.md by
@motssin actions/checkout#1971- Add internal repos for checking out multiple repositories by
@mouismailin actions/checkout#1977- Documentation update - add recommended permissions to Readme by
@benwellsin actions/checkout#2043- Adjust positioning of user email note and permissions heading by
@joshmgrossin actions/checkout#2044- Update README.md by
@nebuk89in actions/checkout#2194- Update CODEOWNERS for actions by
@TingluoHuangin actions/checkout#2224- Update package dependencies by
@salmanmkcin actions/checkout#2236v4.2.2
url-helper.tsnow leverages well-known environment variables by@jww3in actions/checkout#1941- Expand unit test coverage for
isGhesby@jww3in actions/checkout#1946v4.2.1
- Check out other refs/* by commit if provided, fall back to ref by
@orhantoyin actions/checkout#1924v4.2.0
- Add Ref and Commit outputs by
@lucacomein actions/checkout#1180- Dependency updates by
@dependabot- actions/checkout#1777, actions/checkout#1872v4.1.7
- Bump the minor-npm-dependencies group across 1 directory with 4 updates by
@dependabotin actions/checkout#1739- Bump actions/checkout from 3 to 4 by
@dependabotin actions/checkout#1697- Check out other refs/* by commit by
@orhantoyin actions/checkout#1774- Pin actions/checkout's own workflows to a known, good, stable version. by
@jww3in actions/checkout#1776v4.1.6
- Check platform to set archive extension appropriately by
@cory-millerin actions/checkout#1732v4.1.5
- Update NPM dependencie...
v1.7.2
🩹 [Patch]: Update Dependabot configuration to include labels for GitHub Actions (#65)
Description
This pull request introduces a Dependabot configuration to automate dependency updates for GitHub Actions workflows. This will help keep our GitHub Actions up to date and improve security and maintainability.
Dependency management automation:
- Added a
.github/dependabot.ymlfile to enable weekly automated updates for GitHub Actions dependencies, with appropriate labeling for tracking.
v1.7.1
🩹 [Patch]: Add logging for GitHub event data in info script (#64)
Description
This pull request adds a new logging group to the scripts/info.ps1 file for better visibility into event-related information.
Logging Improvements:
scripts/info.ps1: Added a new log group labeled 'Event Information' that retrieves and formats GitHub event data usingGet-GitHubEventData.
Type of change
- 📖 [Docs]
- 🪲 [Fix]
- 🩹 [Patch]
-
⚠️ [Security fix] - 🚀 [Feature]
- 🌟 [Breaking change]
Checklist
- I have performed a self-review of my own code
- I have commented my code, particularly in hard-to-understand areas
v1.7.0
🚀 Add KeyVaultKeyReference parameter for GitHub App authentication (#63)
This PR adds support for authenticating GitHub Apps using Azure KeyVault key references, enabling secure private key storage in Azure KeyVault instead of GitHub secrets.
Changes Made
🔧 Core Implementation
- action.yml: Added new
KeyVaultKeyReferenceinput parameter with proper description and environment variable mapping - scripts/init.ps1:
- Added validation logic ensuring mutual exclusion between
PrivateKeyandKeyVaultKeyReference - Added requirement validation that
ClientIDmust be provided with exactly one key parameter - Implemented new authentication path:
Connect-GitHub -ClientID <ClientID> -KeyVaultKeyReference <url> - Updated module status reporting to include KeyVault key reference status
- Added validation logic ensuring mutual exclusion between
📚 Documentation
- README.md:
- Added
KeyVaultKeyReferenceto inputs documentation table - Added comprehensive Example 5 demonstrating Azure KeyVault authentication workflow
- Updated example numbering consistently
- Included note about required
azure/loginaction for KeyVault authentication
- Added
Usage Example
jobs:
Run-Script:
runs-on: ubuntu-latest
steps:
- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Run script
uses: PSModule/GitHub-Script@v1
with:
ClientID: ${{ secrets.CLIENT_ID }}
KeyVaultKeyReference: ${{ secrets.KEYVAULT_KEY_REFERENCE }}
Script: |
LogGroup "Get-GitHubApp" {
Get-GitHubApp
}Validation
The implementation includes comprehensive validation:
- ✅ Mutual exclusion: Only one of
PrivateKeyorKeyVaultKeyReferencecan be provided - ✅ Requirement validation:
ClientIDmust be provided with exactly one key parameter - ✅ Error handling for invalid input combinations
- ✅ PowerShell and YAML syntax validation
- ✅ Integration testing with 6/6 test scenarios passing
Authentication Flow
The action now supports three authentication methods:
- Token:
Tokenparameter (existing) - GitHub App with Private Key:
ClientID+PrivateKey(existing) - GitHub App with KeyVault:
ClientID+KeyVaultKeyReference(new)
Fixes #62.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.
v1.6.7
🪲 [Fix]: Fix debug and verbose inputs (#61)
This pull request introduces updates to improve debug and verbose output handling across the GitHub PowerShell-based action. The changes ensure consistent configuration of debug and verbose preferences and enhance clarity in documentation and workflow files.
Debug and Verbose Output Handling Updates:
.github/workflows/TestWorkflow.yml: Added the-Debugparameter to theGet-GitHubUsercommand to enable debug output during the workflow execution.action.yml: Updated the descriptions forDebugandVerboseinputs to clarify that they enable debug and verbose output for the entire action. Additionally, configured$DebugPreferenceand$VerbosePreferencebased on input values to set PowerShell preferences dynamically. [1] [2]scripts/info.ps1: Removed redundant$DebugPreferenceand$VerbosePreferenceconfiguration from theendblock, as these preferences are now set globally in the action runner.scripts/outputs.ps1: Removed hardcoded$DebugPreferenceand$VerbosePreferencesettings to align with the new dynamic configuration approach.
Documentation Updates:
README.md: Improved descriptions forDebugandVerboseinputs to specify that they enable output for the entire action, enhancing clarity for users.