From 2206f9a9b6b2806dcb67f5cdbf52fa0e3799693b Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 22 Jan 2026 19:17:27 +0100 Subject: [PATCH 1/8] Configure Dependabot for daily schedule with 7-day cooldown --- .github/dependabot.yml | 4 +++- .github/release.yml | 18 ------------------ .github/workflows/Action-Test.yml | 14 +++++++------- .github/workflows/Auto-Release.yml | 4 ++-- .github/workflows/Linter.yml | 4 ++-- 5 files changed, 14 insertions(+), 30 deletions(-) delete mode 100644 .github/release.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 53188fe..0da2fac 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -11,4 +11,6 @@ updates: - dependencies - github-actions schedule: - interval: weekly + interval: daily + cooldown: + default-days: 7 diff --git a/.github/release.yml b/.github/release.yml deleted file mode 100644 index 35c6ae8..0000000 --- a/.github/release.yml +++ /dev/null @@ -1,18 +0,0 @@ -# https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes#configuring-automatically-generated-release-notes - -changelog: - exclude: - labels: - - NoRelease - categories: - - title: 🌟 Breaking Changes - labels: - - Major - - Breaking - - title: 🚀 New Features - labels: - - Minor - - Feature - - title: Other Changes - labels: - - '*' diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index 8bafb64..7348f02 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -23,11 +23,11 @@ jobs: steps: # Need to check out as part of the test, as its a local action - name: Checkout repo - uses: actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 # Upload artifact from tests: - name: Upload artifact [Environments-macOS-CodeCoverage] - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: Environments-macOS-CodeCoverage path: ./tests/CodeCoverage/Environments-macOS-CodeCoverage @@ -35,7 +35,7 @@ jobs: if-no-files-found: error - name: Upload artifact [Environments-Windows-CodeCoverage] - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: Environments-Windows-CodeCoverage path: ./tests/CodeCoverage/Environments-Windows-CodeCoverage @@ -43,7 +43,7 @@ jobs: if-no-files-found: error - name: Upload artifact [Module-macOS-CodeCoverage] - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: Module-macOS-CodeCoverage path: ./tests/CodeCoverage/Module-macOS-CodeCoverage @@ -51,7 +51,7 @@ jobs: if-no-files-found: error - name: Upload artifact [Module-Windows-CodeCoverage] - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: Module-Windows-CodeCoverage path: ./tests/CodeCoverage/Module-Windows-CodeCoverage @@ -59,7 +59,7 @@ jobs: if-no-files-found: error - name: Upload artifact [MyTests-macOS-CodeCoverage] - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: MyTests-macOS-CodeCoverage path: ./tests/CodeCoverage/MyTests-macOS-CodeCoverage @@ -67,7 +67,7 @@ jobs: if-no-files-found: error - name: Upload artifact [MyTests-Windows-CodeCoverage] - uses: actions/upload-artifact@v5 + uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0 with: name: MyTests-Windows-CodeCoverage path: ./tests/CodeCoverage/MyTests-Windows-CodeCoverage diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml index a36a9f4..be1aa79 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Auto-Release.yml @@ -26,7 +26,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Auto-Release - uses: PSModule/Auto-Release@v1 + uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 94f34b0..7ed0fe3 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -19,12 +19,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@v5 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 - name: Lint code base - uses: super-linter/super-linter@latest + uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 env: GITHUB_TOKEN: ${{ github.token }} VALIDATE_JSON_PRETTIER: false From b0b4e4a58850b9b6b26390cb271511e4189ede63 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 22 Jan 2026 21:53:09 +0100 Subject: [PATCH 2/8] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Update=20GitHub?= =?UTF-8?q?=20Action=20to=20use=20specific=20version=20of=20PSModule/GitHu?= =?UTF-8?q?b-Script?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index c6b8d41..3db4cfa 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ runs: using: composite steps: - name: Get-PesterCodeCoverage - uses: PSModule/GitHub-Script@v1 + uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 env: PSMODULE_GET_PESTERCODECOVERAGE_INPUT_StepSummary_Mode: ${{ inputs.StepSummary_Mode }} PSMODULE_GET_PESTERCODECOVERAGE_INPUT_CodeCoveragePercentTarget: ${{ inputs.CodeCoveragePercentTarget }} From f11ba7c5484d5008b7f11db74959fa852fc8e324 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 21:31:09 +0100 Subject: [PATCH 3/8] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Remove=20Auto-Rel?= =?UTF-8?q?ease=20workflow=20and=20refactor=20scripts;=20add=20new=20Relea?= =?UTF-8?q?se=20workflow?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../workflows/{Auto-Release.yml => Release.yml} | 15 ++++++++++----- action.yml | 2 +- {scripts => src}/Helpers.psm1 | 0 {scripts => src}/main.ps1 | 0 4 files changed, 11 insertions(+), 6 deletions(-) rename .github/workflows/{Auto-Release.yml => Release.yml} (66%) rename {scripts => src}/Helpers.psm1 (100%) rename {scripts => src}/main.ps1 (100%) diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Release.yml similarity index 66% rename from .github/workflows/Auto-Release.yml rename to .github/workflows/Release.yml index be1aa79..3d13301 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Release.yml @@ -1,9 +1,9 @@ -name: Auto-Release +name: Release -run-name: "Auto-Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" +run-name: "Release - [${{ github.event.pull_request.title }} #${{ github.event.pull_request.number }}] by @${{ github.actor }}" on: - pull_request_target: + pull_request: branches: - main types: @@ -12,6 +12,9 @@ on: - reopened - synchronize - labeled + paths: + - 'action.yml' + - 'src/**' concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -22,11 +25,13 @@ permissions: pull-requests: write # Required to create comments on the PRs jobs: - Auto-Release: + Release: runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - - name: Auto-Release + - name: Release uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 diff --git a/action.yml b/action.yml index 3db4cfa..8b4dc49 100644 --- a/action.yml +++ b/action.yml @@ -51,4 +51,4 @@ runs: Version: ${{ inputs.Version }} WorkingDirectory: ${{ inputs.WorkingDirectory }} ShowInfo: false - Script: ${{ github.action_path }}/scripts/main.ps1 + Script: ${{ github.action_path }}/src/main.ps1 diff --git a/scripts/Helpers.psm1 b/src/Helpers.psm1 similarity index 100% rename from scripts/Helpers.psm1 rename to src/Helpers.psm1 diff --git a/scripts/main.ps1 b/src/main.ps1 similarity index 100% rename from scripts/main.ps1 rename to src/main.ps1 From 09d2bb44d0e3628b4b5febe3de67b8e5994c81e1 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 21:45:13 +0100 Subject: [PATCH 4/8] fix: Add persist-credentials: false to checkout actions --- .github/workflows/Action-Test.yml | 2 ++ .github/workflows/Linter.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/Action-Test.yml b/.github/workflows/Action-Test.yml index 7348f02..e3cc0f3 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -24,6 +24,8 @@ jobs: # Need to check out as part of the test, as its a local action - name: Checkout repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false # Upload artifact from tests: - name: Upload artifact [Environments-macOS-CodeCoverage] diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 7ed0fe3..377763a 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -22,11 +22,13 @@ jobs: uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: fetch-depth: 0 + persist-credentials: false - name: Lint code base uses: super-linter/super-linter@d5b0a2ab116623730dd094f15ddc1b6b25bf7b99 # v8.3.2 env: GITHUB_TOKEN: ${{ github.token }} + VALIDATE_BIOME_FORMAT: false VALIDATE_JSON_PRETTIER: false VALIDATE_MARKDOWN_PRETTIER: false VALIDATE_YAML_PRETTIER: false From 4840cd463d2b28e746ec1e9af70ea414f104a0eb Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:00:53 +0100 Subject: [PATCH 5/8] Disable JSCPD linter and remove configuration file --- .github/linters/.jscpd.json | 10 ---------- .github/workflows/Linter.yml | 1 + 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 .github/linters/.jscpd.json diff --git a/.github/linters/.jscpd.json b/.github/linters/.jscpd.json deleted file mode 100644 index 23970e8..0000000 --- a/.github/linters/.jscpd.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "threshold": 0, - "reporters": [ - "consoleFull" - ], - "ignore": [ - "**/tests/**" - ], - "absolute": true -} diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 377763a..3a07190 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -29,6 +29,7 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} VALIDATE_BIOME_FORMAT: false + VALIDATE_JSCPD: false VALIDATE_JSON_PRETTIER: false VALIDATE_MARKDOWN_PRETTIER: false VALIDATE_YAML_PRETTIER: false From 1abec9191a8a656221ea813ec5aa9e1a74c4f339 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:31:35 +0100 Subject: [PATCH 6/8] Rename Auto-Release to Release-GHRepository --- .github/workflows/Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 3d13301..2538949 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -34,4 +34,4 @@ jobs: persist-credentials: false - name: Release - uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 From 9fd1b68701d7cdd38a5796832e81e57beaa2a587 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:44:00 +0100 Subject: [PATCH 7/8] Fix version comment to use patch level --- .github/workflows/Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 2538949..9d2a631 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -34,4 +34,4 @@ jobs: persist-credentials: false - name: Release - uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2.0.1 From 8090b34520975375a850ca08e49ffd1d096d3eeb Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 23:05:27 +0100 Subject: [PATCH 8/8] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20GitHub-Script?= =?UTF-8?q?=20to=20v1.7.10?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 8b4dc49..14a673c 100644 --- a/action.yml +++ b/action.yml @@ -39,7 +39,7 @@ runs: using: composite steps: - name: Get-PesterCodeCoverage - uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 + uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 env: PSMODULE_GET_PESTERCODECOVERAGE_INPUT_StepSummary_Mode: ${{ inputs.StepSummary_Mode }} PSMODULE_GET_PESTERCODECOVERAGE_INPUT_CodeCoveragePercentTarget: ${{ inputs.CodeCoveragePercentTarget }}