From 1fc7ff7783a87845160f502774596b7641b427e6 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 19 Jul 2026 03:59:25 +0200 Subject: [PATCH 1/6] Align Process-PSModule merge trigger Add push trigger for main and remove pull_request closed trigger so post-merge runs are tied to merge commits without duplicate closed-PR runs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/Process-PSModule.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index 6e69583..dab2e65 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -4,11 +4,13 @@ on: workflow_dispatch: schedule: - cron: '0 0 * * *' + push: + branches: + - main pull_request: branches: - main types: - - closed - opened - reopened - synchronize From a20a6b3a34dacd73ee26e9e08ac4f839cd6dd420 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 19 Jul 2026 04:10:40 +0200 Subject: [PATCH 2/6] Refine README usage examples Fix a grammar issue in the usage section and replace the template module name in Example 2 with the actual module name. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a696eb..ae85482 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Import-Module -Name {{ NAME }} ## Usage -Here is a list of example that are typical use cases for the module. +Here is a list of examples that are typical use cases for the module. ### Example 1: Greet an entity @@ -41,7 +41,7 @@ Hello, World! Provide examples for typical commands that a user would like to do with the module. ```powershell -Import-Module -Name PSModuleTemplate +Import-Module -Name MariusTestModule ``` ### Find more examples From d07a5c2cd08d0a6de7e068474ded62064b97b2e1 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 19 Jul 2026 04:19:09 +0200 Subject: [PATCH 3/6] Restore merged-PR workflow trigger Re-enable pull_request.closed and remove push-to-main trigger so Process-PSModule receives merged PR context required for Publish-Site. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/Process-PSModule.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index dab2e65..6e69583 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -4,13 +4,11 @@ on: workflow_dispatch: schedule: - cron: '0 0 * * *' - push: - branches: - - main pull_request: branches: - main types: + - closed - opened - reopened - synchronize From 8d80d99493842938791ec3cdbb7e197dacaed565 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 19 Jul 2026 04:19:23 +0200 Subject: [PATCH 4/6] Clarify docs location in README Replace placeholder documentation text with a concrete statement about generated function docs on the published site. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index ae85482..59dff54 100644 --- a/README.md +++ b/README.md @@ -53,8 +53,7 @@ To find examples of each of the commands you can use Get-Help -Examples 'Command ## Documentation -Link to further documentation if available, or describe where in the repository users can find more detailed documentation about -the module's functions and features. +Function documentation is published to the project site under the `Functions` section and is generated from the module source. ## Contributing From d92c96a0c268ad03c9c90f23eb2c1b18695d82c9 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 19 Jul 2026 04:28:52 +0200 Subject: [PATCH 5/6] Add closed PR trigger for publishing context Include pull_request.closed in Process-PSModule triggers so merged PR context is available for Publish-Site evaluation. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- .github/workflows/Process-PSModule.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/Process-PSModule.yml b/.github/workflows/Process-PSModule.yml index dab2e65..c57fa15 100644 --- a/.github/workflows/Process-PSModule.yml +++ b/.github/workflows/Process-PSModule.yml @@ -11,6 +11,7 @@ on: branches: - main types: + - closed - opened - reopened - synchronize From b48fbd2b7e14ddf03408a8dc286676027cb394b7 Mon Sep 17 00:00:00 2001 From: Marius Storhaug Date: Sun, 19 Jul 2026 04:32:20 +0200 Subject: [PATCH 6/6] Tighten README usage phrasing Refine wording in the usage introduction for clarity in rendered docs. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 59dff54..1075a52 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Import-Module -Name {{ NAME }} ## Usage -Here is a list of examples that are typical use cases for the module. +Here are examples of typical use cases for the module. ### Example 1: Greet an entity