You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🪲 [Fix]: Set-GitHubOutput using SecureString in GitHub Actions (#258)
## Description
This pull request includes updates to the `Set-GitHubOutput` function
and its corresponding tests to improve handling of secure strings.
### Enhancements to `Set-GitHubOutput` function:
* Removed the `-Force` parameter from the `ConvertFrom-SecureString`
command as it does not support the switch.
(`src/functions/public/Commands/Set-GitHubOutput.ps1`)
### Improvements in test coverage:
* Introduced new test cases to ensure the `Set-GitHubOutput` function
handles secure strings and objects correctly without throwing errors.
(`tests/GitHub.Tests.ps1`)
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [x] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [ ] 🌟 [Breaking change]
## Checklist
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
0 commit comments