From 5e5086434a646f83def1c6a5e5a39a1cc20f4186 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Mon, 7 Oct 2024 11:18:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20[Feature]:=20Restructure=20for?= =?UTF-8?q?=20Process-PSModule=20v3=20(#18)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Description - Removing support for Windows PowerShell - directional change for PSModule. - Remove nuget from Dependabot settings - Using Process-PSModule v3 - Restructure for v3 ## Type of change - [ ] 📖 [Docs] - [ ] 🪲 [Fix] - [ ] 🩹 [Patch] - [ ] ⚠️ [Security fix] - [x] 🚀 [Feature] - [ ] 🌟 [Breaking change] ## Checklist - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas --- .github/dependabot.yml | 4 ---- .github/workflows/Linter.yml | 2 ++ .github/workflows/Nightly-Run.yml | 4 +++- .github/workflows/Process-PSModule.yml | 2 +- src/{ => functions}/public/Get-PublicIP.ps1 | 0 src/{ => variables/private}/common.ps1 | 0 6 files changed, 6 insertions(+), 6 deletions(-) rename src/{ => functions}/public/Get-PublicIP.ps1 (100%) rename src/{ => variables/private}/common.ps1 (100%) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b92544a..f57e1e9 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,3 @@ updates: directory: / # Location of package manifests schedule: interval: weekly - - package-ecosystem: nuget # See documentation for possible values - directory: / # Location of package manifests - schedule: - interval: weekly diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 5c9f300..d7650ae 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -27,3 +27,5 @@ jobs: uses: super-linter/super-linter@latest env: GITHUB_TOKEN: ${{ github.token }} + VALIDATE_MARKDOWN_PRETTIER: false + VALIDATE_YAML_PRETTIER: false diff --git a/.github/workflows/Nightly-Run.yml b/.github/workflows/Nightly-Run.yml index d5b5994..c25d806 100644 --- a/.github/workflows/Nightly-Run.yml +++ b/.github/workflows/Nightly-Run.yml @@ -7,8 +7,10 @@ on: permissions: contents: read + pull-requests: write + statuses: write jobs: Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v2 + uses: PSModule/Process-PSModule/.github/workflows/CI.yml@v3 secrets: inherit diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 76f9983..da48a8b 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -26,5 +26,5 @@ permissions: jobs: Process-PSModule: - uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v2 + uses: PSModule/Process-PSModule/.github/workflows/workflow.yml@v3 secrets: inherit diff --git a/src/public/Get-PublicIP.ps1 b/src/functions/public/Get-PublicIP.ps1 similarity index 100% rename from src/public/Get-PublicIP.ps1 rename to src/functions/public/Get-PublicIP.ps1 diff --git a/src/common.ps1 b/src/variables/private/common.ps1 similarity index 100% rename from src/common.ps1 rename to src/variables/private/common.ps1