Tags: PSModule/Net
Tags
🪲 [Fix]: Fix linter settings and docs (#5) This pull request updates linter configurations to improve code formatting and validation behavior in the project. The main changes involve disabling certain validation checks in the linter environment and refining markdown linting rules. Linter configuration updates: * [`.github/PSModule.yml`](diffhunk://#diff-928165ed381f1982eb8f9746a59a2829db4abc8a28eddb8c109e12bb033ff96aR22-R31): Added a `Linter` section with environment variables to disable various validation checks, including Biome format and lint, GitHub Actions Zizmor, JSCPD, and Prettier validations for JSON, Markdown, and YAML. Markdown linting rule adjustments: * [`.github/linters/.markdown-lint.yml`](diffhunk://#diff-2fd3619d2b7372123257bc21645edb90c24293e66babbc6053033a89e21bab34R16-R18): Disabled the `MD024` rule to allow duplicate headings (useful for INPUTS and OUTPUTS sections), and updated the punctuation format for the `MD026` rule for consistency.
🩹 [Patch]: Bump Process-PSModule to v5 (#4) ## Description This pull request primarily updates and simplifies the repository's GitHub workflow and configuration files. The main changes include consolidating scheduled and pull request workflows, updating workflow calls to use newer versions and inherited secrets, removing unused linter and configuration files, and improving Dependabot labeling. **Workflow and CI/CD improvements:** * The `.github/workflows/Process-PSModule.yml` workflow now handles both scheduled (nightly) and pull request events, consolidating responsibilities previously split between multiple workflows. The workflow is also updated to use `workflow.yml@v5` and inherits secrets instead of specifying them directly. [[1]](diffhunk://#diff-b4dbaea65a86cef96799e9783b18b31e96a456d476805312f52919d45a060603L3-R6) [[2]](diffhunk://#diff-b4dbaea65a86cef96799e9783b18b31e96a456d476805312f52919d45a060603L29-R31) * The `.github/workflows/Nightly-Run.yml` workflow is removed, as its functionality is now handled by the updated `Process-PSModule.yml` workflow. * The `.github/workflows/Linter.yml` workflow is removed, eliminating the automated linting step from the repository. **Configuration and automation cleanup:** * The `.github/linters/.jscpd.json` configuration file is removed, indicating that duplicate code detection with JSCPD is no longer configured. * The `.github/PSModule.yml` file is updated to skip several test and build steps, streamlining the module's CI process. * The `.github/dependabot.yml` configuration is updated to add `dependencies` and `github-actions` labels to PRs created by Dependabot, improving PR triage. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
🌟 [Major]: Add functionality that gets local IP configuration (#2) ## Description This pull request introduces a new function for retrieving network interface IP configuration details. It also updates the test suite to validate the new network configuration functionality. **New network configuration functionality:** * Added the `Get-NetIPConfiguration` function which retrieves detailed IP configuration for all network interfaces, including support for filtering by operational status and address family. It outputs structured objects with interface, IP, subnet mask, gateway, and DNS information. **Test suite updates:** * Added new tests for `Get-NetIPConfiguration` and its alias `IPConfig`, ensuring the new functionality is properly validated. ## 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 --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Initialize the module (#1) ## Description Initialize the module. ## 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