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
🌟 [Major]: Fix path separator in action.yml and update README.md (#10)
## Description
This pull request includes several changes to improve the handling of
sensitive information, enhance the readability of the debug information,
and update documentation, including adding a new function to mask
sensitive values, updating the `README.md` to provide clearer
information about the action, and modifying the PowerShell script to use
the new masking function.
Enhancements to sensitive information handling:
* `action.yml`:
* Fixed the path separator in the script path to ensure compatibility
across different environments.
* `scripts/Helpers.psm1`:
* Added a new `Set-MaskedValue` function to mask sensitive values such
as GitHub tokens, JWT tokens, and private keys.
* `scripts/main.ps1`:
* Imported the `Helpers.psm1` module and set the output rendering to
ANSI for better readability.
* Updated various logging sections to use the `Set-MaskedValue` function
to mask sensitive information in environment variables and PowerShell
variables.
Documentation updates:
* `README.md`:
* Updated the documentation to provide more comprehensive information
about the action, including inputs, outputs, and a caution about
exposing sensitive information.
Tests:
* `.github/workflows/Action-Test.yml`:
* Added an environment variable for a fake private key for debugging
purposes.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [ ] 🚀 [Feature]
- [x] 🌟 [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