From 64f6e27401ce101268c8d557cde73be21f81ac84 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Thu, 22 Jan 2026 19:43:02 +0100 Subject: [PATCH 01/11] Update workflow configurations --- .github/release.yml | 18 ------------------ .github/workflows/AfterAll-ModuleLocal.yml | 2 +- .github/workflows/Auto-Release.yml | 2 +- .github/workflows/BeforeAll-ModuleLocal.yml | 2 +- .github/workflows/Build-Docs.yml | 2 +- .github/workflows/Build-Module.yml | 2 +- .github/workflows/Build-Site.yml | 2 +- .github/workflows/Get-Settings.yml | 2 +- .github/workflows/Lint-Repository.yml | 2 +- .github/workflows/Lint-SourceCode.yml | 2 +- .github/workflows/Linter.yml | 2 +- .github/workflows/Publish-Module.yml | 2 +- .github/workflows/Test-Module.yml | 4 ++-- .github/workflows/Test-ModuleLocal.yml | 2 +- .github/workflows/Test-SourceCode.yml | 2 +- 15 files changed, 15 insertions(+), 33 deletions(-) delete mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml deleted file mode 100644 index 35c6ae86..00000000 --- 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/AfterAll-ModuleLocal.yml b/.github/workflows/AfterAll-ModuleLocal.yml index fc0c005b..6e230b81 100644 --- a/.github/workflows/AfterAll-ModuleLocal.yml +++ b/.github/workflows/AfterAll-ModuleLocal.yml @@ -50,7 +50,7 @@ jobs: SETTINGS: ${{ inputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml index 3b7d8e9e..643724c7 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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/BeforeAll-ModuleLocal.yml b/.github/workflows/BeforeAll-ModuleLocal.yml index 62097690..cb149b3d 100644 --- a/.github/workflows/BeforeAll-ModuleLocal.yml +++ b/.github/workflows/BeforeAll-ModuleLocal.yml @@ -50,7 +50,7 @@ jobs: Settings: ${{ inputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Build-Docs.yml b/.github/workflows/Build-Docs.yml index 3336fdcb..0095b63a 100644 --- a/.github/workflows/Build-Docs.yml +++ b/.github/workflows/Build-Docs.yml @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Build-Module.yml b/.github/workflows/Build-Module.yml index 11248d2c..9d30bb9c 100644 --- a/.github/workflows/Build-Module.yml +++ b/.github/workflows/Build-Module.yml @@ -24,7 +24,7 @@ jobs: GH_TOKEN: ${{ github.token }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Build-Site.yml b/.github/workflows/Build-Site.yml index b10701dc..d770f2d0 100644 --- a/.github/workflows/Build-Site.yml +++ b/.github/workflows/Build-Site.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Get-Settings.yml b/.github/workflows/Get-Settings.yml index 4357e302..86f717b7 100644 --- a/.github/workflows/Get-Settings.yml +++ b/.github/workflows/Get-Settings.yml @@ -49,7 +49,7 @@ jobs: Settings: ${{ steps.Get-Settings.outputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Lint-Repository.yml b/.github/workflows/Lint-Repository.yml index 2a7122ec..a9f6445e 100644 --- a/.github/workflows/Lint-Repository.yml +++ b/.github/workflows/Lint-Repository.yml @@ -20,7 +20,7 @@ jobs: Settings: ${{ inputs.Settings }} steps: - name: Checkout repo - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Lint-SourceCode.yml b/.github/workflows/Lint-SourceCode.yml index bbe96827..d3a9b332 100644 --- a/.github/workflows/Lint-SourceCode.yml +++ b/.github/workflows/Lint-SourceCode.yml @@ -21,7 +21,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.SourceCode }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/Linter.yml b/.github/workflows/Linter.yml index 6f3ba22a..05f128c8 100644 --- a/.github/workflows/Linter.yml +++ b/.github/workflows/Linter.yml @@ -19,7 +19,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repo - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Publish-Module.yml b/.github/workflows/Publish-Module.yml index 40c6593d..d05ead21 100644 --- a/.github/workflows/Publish-Module.yml +++ b/.github/workflows/Publish-Module.yml @@ -24,7 +24,7 @@ jobs: SETTINGS: ${{ inputs.Settings }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Test-Module.yml b/.github/workflows/Test-Module.yml index bcedef37..8eb9dcfd 100644 --- a/.github/workflows/Test-Module.yml +++ b/.github/workflows/Test-Module.yml @@ -52,7 +52,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.PSModule }} steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false @@ -82,7 +82,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.PSModule }} steps: - name: Checkout repository - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false diff --git a/.github/workflows/Test-ModuleLocal.yml b/.github/workflows/Test-ModuleLocal.yml index 63b3c1f9..b08679f4 100644 --- a/.github/workflows/Test-ModuleLocal.yml +++ b/.github/workflows/Test-ModuleLocal.yml @@ -53,7 +53,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.Module }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 diff --git a/.github/workflows/Test-SourceCode.yml b/.github/workflows/Test-SourceCode.yml index 186b6f16..2e630fd6 100644 --- a/.github/workflows/Test-SourceCode.yml +++ b/.github/workflows/Test-SourceCode.yml @@ -21,7 +21,7 @@ jobs: include: ${{ fromJson(inputs.Settings).TestSuites.SourceCode }} steps: - name: Checkout Code - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 + uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false fetch-depth: 0 From e20bf0d9ea932df8b5558b7ca567285b1e39027f Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Fri, 23 Jan 2026 16:49:35 +0100 Subject: [PATCH 02/11] Test: Use Get-PSModuleSettings feature branch for important file changes --- .github/workflows/Get-Settings.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Get-Settings.yml b/.github/workflows/Get-Settings.yml index 86f717b7..29124f6c 100644 --- a/.github/workflows/Get-Settings.yml +++ b/.github/workflows/Get-Settings.yml @@ -55,7 +55,7 @@ jobs: fetch-depth: 0 - name: Get-Settings - uses: PSModule/Get-PSModuleSettings@28c1805d689dc5bfcfba7489e76c34a6d33d7da8 # v1.4.0 + uses: PSModule/Get-PSModuleSettings@feature/important-file-changes id: Get-Settings with: SettingsPath: ${{ inputs.SettingsPath }} From f8324b64e0285aa2e912c59a84729436d94a0d60 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Fri, 23 Jan 2026 17:56:07 +0100 Subject: [PATCH 03/11] Add Debug job to workflow --- .github/prompts/PSModule.pr.prompt.md | 4 +++- .github/workflows/workflow.yml | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.github/prompts/PSModule.pr.prompt.md b/.github/prompts/PSModule.pr.prompt.md index 75661c9a..0cad74a5 100644 --- a/.github/prompts/PSModule.pr.prompt.md +++ b/.github/prompts/PSModule.pr.prompt.md @@ -6,6 +6,8 @@ description: Create a pull request with a release note style description, approp The user input to you can be provided directly by the agent or as a command argument - you **MUST** consider it before proceeding with the prompt (if not empty). +Use the GitHub MCP tools to create or update a pull request in the appropriate repository (fork or origin mode), with a structured release note style description, a title that includes an icon and change type, and labels based on the specified change type. + ## User input $ARGUMENTS @@ -69,7 +71,7 @@ $ARGUMENTS - Stop if the user cannot provide either of these. 5. **Generate PR title**: - - **If issue title retrieved**: Use format ` ` + - **If issue title retrieved**: Use format ` []: ` - Examples: - `🚀 [Feature]: Add support for custom module templates` - `🪲 [Fix]: Resolve null reference in parameter validation` diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 39615418..8b4f0919 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -67,6 +67,13 @@ permissions: id-token: write # to verify the deployment originates from an appropriate source jobs: + Debug: + name: Debug + runs-on: ubuntu-latest + steps: + - name: Debug + uses: PSModule/Debug@main + # Runs on: # - ✅ Open/Updated PR - Always runs to load configuration # - ✅ Merged PR - Always runs to load configuration From c62cc90617c0fefa88485b098ae6c538df2c6fac Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Fri, 23 Jan 2026 20:05:44 +0100 Subject: [PATCH 04/11] Add issues:write permission for PR comments --- .github/workflows/workflow.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 8b4f0919..ccd1ea21 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -61,6 +61,7 @@ on: permissions: contents: write # to checkout the repo and create releases on the repo + issues: write # to write comments to PRs (uses issues API) pull-requests: write # to write comments to PRs statuses: write # to update the status of the workflow from linter pages: write # to deploy to Pages From b3a8d408d699af08b9a6bd9c9264a3cc9f028710 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Fri, 23 Jan 2026 20:07:43 +0100 Subject: [PATCH 05/11] Remove issues:write permission (not allowed by callers) --- .github/workflows/workflow.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index ccd1ea21..8b4f0919 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -61,7 +61,6 @@ on: permissions: contents: write # to checkout the repo and create releases on the repo - issues: write # to write comments to PRs (uses issues API) pull-requests: write # to write comments to PRs statuses: write # to update the status of the workflow from linter pages: write # to deploy to Pages From 51bc59133c1f0791cba226f1328ec338a5f74c99 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Fri, 23 Jan 2026 20:27:47 +0100 Subject: [PATCH 06/11] Add pull-requests: write permission to Get-Settings workflow --- .github/workflows/Get-Settings.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Get-Settings.yml b/.github/workflows/Get-Settings.yml index 29124f6c..0cef886d 100644 --- a/.github/workflows/Get-Settings.yml +++ b/.github/workflows/Get-Settings.yml @@ -39,7 +39,8 @@ on: value: ${{ jobs.Get-Settings.outputs.Settings }} permissions: - contents: read # to checkout the repo + contents: read # to checkout the repo + pull-requests: write # to add labels to PRs jobs: Get-Settings: From 94da564faa006d20ffd0c04f3d51be9b4bca581e Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 18:23:05 +0100 Subject: [PATCH 07/11] Fix typo in README.md: correct "wether" to "whether" in workflow description --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ecf59711..aa1c5091 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ Depending on the labels in the pull requests, the [workflow will result in diffe [workflow](#get-settings) - Reads the settings file `github/PSModule.yml` in the module repository to configure the workflow. -- Gathers context for the process from GitHub and the repo files, configuring what tests to run, if and what kind of release to create, and wether +- Gathers context for the process from GitHub and the repo files, configuring what tests to run, if and what kind of release to create, and whether to setup testing infrastructure and what operating systems to run the tests on. ### Build module From a2af56ed9e31fd1f52f276afece1b3aa96c51a37 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:01:47 +0100 Subject: [PATCH 08/11] Remove JSCPD linter configuration file --- .github/linters/.jscpd.json | 11 ----------- 1 file changed, 11 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 15d4513d..00000000 --- a/.github/linters/.jscpd.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "threshold": 0, - "reporters": [ - "consoleFull" - ], - "ignore": [ - "**/tests/**", - "**/workflows/**" - ], - "absolute": true -} From 0387b5dc8d34a6facf546d30692e426b27597fed Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:32:34 +0100 Subject: [PATCH 09/11] Rename Auto-Release to Release-GHRepository --- .github/workflows/Auto-Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml index 643724c7..8508765f 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Auto-Release.yml @@ -31,6 +31,6 @@ jobs: persist-credentials: false - name: Auto-Release - uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 with: IncrementalPrerelease: false From c7f8a8431748c7a08d29b37d54d48a741b5ed5c5 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 22:44:57 +0100 Subject: [PATCH 10/11] Fix version comment to use patch level --- .github/workflows/Auto-Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Auto-Release.yml b/.github/workflows/Auto-Release.yml index 8508765f..389b2f9f 100644 --- a/.github/workflows/Auto-Release.yml +++ b/.github/workflows/Auto-Release.yml @@ -31,6 +31,6 @@ jobs: persist-credentials: false - name: Auto-Release - uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2 + uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2.0.1 with: IncrementalPrerelease: false From be469e2a82b06647c90758fac63a4c224f6cf6d8 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 25 Jan 2026 23:06:08 +0100 Subject: [PATCH 11/11] =?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 --- .github/workflows/AfterAll-ModuleLocal.yml | 2 +- .github/workflows/BeforeAll-ModuleLocal.yml | 2 +- .github/workflows/Build-Docs.yml | 2 +- .github/workflows/Build-Site.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/AfterAll-ModuleLocal.yml b/.github/workflows/AfterAll-ModuleLocal.yml index 6e230b81..e3782e44 100644 --- a/.github/workflows/AfterAll-ModuleLocal.yml +++ b/.github/workflows/AfterAll-ModuleLocal.yml @@ -57,7 +57,7 @@ jobs: - name: Run AfterAll Teardown Scripts if: always() - uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 + uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 with: Name: AfterAll-ModuleLocal ShowInfo: false diff --git a/.github/workflows/BeforeAll-ModuleLocal.yml b/.github/workflows/BeforeAll-ModuleLocal.yml index cb149b3d..df20d30a 100644 --- a/.github/workflows/BeforeAll-ModuleLocal.yml +++ b/.github/workflows/BeforeAll-ModuleLocal.yml @@ -56,7 +56,7 @@ jobs: fetch-depth: 0 - name: Run BeforeAll Setup Scripts - uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 + uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 with: Name: BeforeAll-ModuleLocal ShowInfo: false diff --git a/.github/workflows/Build-Docs.yml b/.github/workflows/Build-Docs.yml index 0095b63a..8a00be6f 100644 --- a/.github/workflows/Build-Docs.yml +++ b/.github/workflows/Build-Docs.yml @@ -44,7 +44,7 @@ jobs: retention-days: 1 - name: Commit all changes - uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 + uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 with: Debug: ${{ fromJson(inputs.Settings).Debug }} Prerelease: ${{ fromJson(inputs.Settings).Prerelease }} diff --git a/.github/workflows/Build-Site.yml b/.github/workflows/Build-Site.yml index d770f2d0..bbc06aa7 100644 --- a/.github/workflows/Build-Site.yml +++ b/.github/workflows/Build-Site.yml @@ -40,7 +40,7 @@ jobs: pip install mkdocs-git-committers-plugin-2 - name: Structure site - uses: PSModule/GitHub-Script@2010983167dc7a41bcd84cb88e698ec18eccb7ca # v1.7.8 + uses: PSModule/GitHub-Script@0097f3bbe3f413f3b577b9bcc600727b0ca3201a # v1.7.10 with: Debug: ${{ fromJson(inputs.Settings).Debug }} Prerelease: ${{ fromJson(inputs.Settings).Prerelease }}