From 01629c0204e2d73ec477e3b83ed74afe7f9c5972 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 22 Jan 2026 19:17:55 +0100 Subject: [PATCH 01/10] Configure Dependabot for daily schedule with 7-day cooldown --- .github/dependabot.yml | 4 +++- .github/release.yml | 18 ------------------ .github/workflows/Action-Test.yml | 2 +- .github/workflows/Auto-Release.yml | 4 ++-- .github/workflows/Linter.yml | 4 ++-- 5 files changed, 8 insertions(+), 24 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 081bf6d..21e31e2 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -24,7 +24,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout repo - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Action-Test uses: ./ diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml index 976b40c..a94830b 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Auto-Release.yml @@ -26,9 +26,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@v6 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 - name: Auto-Release - uses: PSModule/Auto-Release@v1 + uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 with: IncrementalPrerelease: false diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 1962629..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@v6 + 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 3077b25ff4fc8cabe0adf88a10fa8fa21ace546d Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 22 Jan 2026 21:53:11 +0100 Subject: [PATCH 02/10] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Update=20GitHub?= =?UTF-8?q?=20Script=20action=20version=20to=20v1.7.8=20in=20action.yml?= 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 aac4d86..e68a877 100644 --- a/action.yml +++ b/action.yml @@ -30,7 +30,7 @@ runs: using: composite steps: - name: Initialize-PSModule - uses: PSModule/GitHub-Script@v1 + uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 with: Debug: ${{ inputs.Debug }} Prerelease: ${{ inputs.Prerelease }} From 52c2c1648a48591794e0f546dba0c98b44b77ab9 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 18:32:25 +0100 Subject: [PATCH 03/10] =?UTF-8?q?=F0=9F=A9=B9=20[Patch]:=20Fix=20typo=20in?= =?UTF-8?q?=20README.md=20for=20action=20name=20and=20correct=20spelling?= =?UTF-8?q?=20of=20'Continuous'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e08a0b0..76cb749 100644 --- a/README.md +++ b/README.md @@ -6,11 +6,11 @@ This GitHub Action is a part of the [PSModule framework](https://github.com/PSMo ## Specifications and practices -Initiate-PSModule follows: +Initialize-PSModule follows: - [SemVer 2.0.0 specifications](https://semver.org) - [GitHub Flow specifications](https://docs.github.com/en/get-started/using-github/github-flow) -- [Continiuous Delivery practices](https://en.wikipedia.org/wiki/Continuous_delivery) +- [Continuous Delivery practices](https://en.wikipedia.org/wiki/Continuous_delivery) ... and supports the following practices in the PSModule framework: From 6e833222f33ae6890a03e8a340d3bf9d4f887400 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 21:32:14 +0100 Subject: [PATCH 04/10] =?UTF-8?q?=F0=9F=A9=B9=20[Refactor]:=20Remove=20Aut?= =?UTF-8?q?o-Release=20workflow=20and=20update=20script=20paths=20in=20act?= =?UTF-8?q?ion.yml?= 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}/main.ps1 | 0 3 files changed, 11 insertions(+), 6 deletions(-) rename .github/workflows/{Auto-Release.yml => Release.yml} (66%) 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 a94830b..3cb8396 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,13 +25,15 @@ permissions: pull-requests: write 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 with: IncrementalPrerelease: false diff --git a/action.yml b/action.yml index e68a877..ab79a03 100644 --- a/action.yml +++ b/action.yml @@ -39,4 +39,4 @@ runs: WorkingDirectory: ${{ inputs.WorkingDirectory }} Script: | # Initialize-PSModule - ${{ github.action_path }}/scripts/main.ps1 + ${{ github.action_path }}/src/main.ps1 diff --git a/scripts/main.ps1 b/src/main.ps1 similarity index 100% rename from scripts/main.ps1 rename to src/main.ps1 From 3865251fb3e283a6657ec77ec30661ad2bd99371 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 21:45:23 +0100 Subject: [PATCH 05/10] 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 21e31e2..2878be7 100644 --- a/.github/workflows/Action-Test.yml +++ b/.github/workflows/Action-Test.yml @@ -25,6 +25,8 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + with: + persist-credentials: false - name: Action-Test uses: ./ 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 d35722efed08238448ab088344625fcf9685b851 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:01:13 +0100 Subject: [PATCH 06/10] 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 3777c1f1d6d394a4004c89bdccc0016935173f81 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:32:02 +0100 Subject: [PATCH 07/10] 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 3cb8396..38fbd49 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -34,6 +34,6 @@ jobs: persist-credentials: false - name: Release - uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 with: IncrementalPrerelease: false From c183abe70d9ad4c5c0f0af839ede35820b455f71 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:44:24 +0100 Subject: [PATCH 08/10] 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 38fbd49..15ea61e 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -34,6 +34,6 @@ jobs: persist-credentials: false - name: Release - uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2.0.1 with: IncrementalPrerelease: false From c14103e9c67a2b4c15fae967fceab677512495a5 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 23:05:37 +0100 Subject: [PATCH 09/10] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Update=20GitHub-Scri?= =?UTF-8?q?pt=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 ab79a03..031f043 100644 --- a/action.yml +++ b/action.yml @@ -30,7 +30,7 @@ runs: using: composite steps: - name: Initialize-PSModule - uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 + uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 with: Debug: ${{ inputs.Debug }} Prerelease: ${{ inputs.Prerelease }} From 46f73c7c8e80b0e2676cdcd3871b057b0923c5fa Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Tue, 27 Jan 2026 00:15:23 +0100 Subject: [PATCH 10/10] fix: Update README to include Prerelease input for GitHub module version --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 76cb749..268dc04 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ The Initialize-PSModule action will prepare the runner for the PSModule framewor | `Verbose` | Enable verbose output. | `false` | `'false'` | | `Version` | Specifies the version of the GitHub module to be installed. The value must be an exact version. | `false` | | | `Prerelease` | Allow prerelease versions if available. | `false` | `'false'` | -| `WorkingDirectory` | The working directory where the script runs. | `false` | `${{ github.workspace }}` | +| `WorkingDirectory` | The working directory where the script runs. | `false` | `${{ github.workspace }}` | ## Example