Skip to content
Closed
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
64f6e27
Update workflow configurations
MariusStorhaug Jan 22, 2026
e20bf0d
Test: Use Get-PSModuleSettings feature branch for important file changes
MariusStorhaug Jan 23, 2026
f8324b6
Add Debug job to workflow
MariusStorhaug Jan 23, 2026
c62cc90
Add issues:write permission for PR comments
MariusStorhaug Jan 23, 2026
b3a8d40
Remove issues:write permission (not allowed by callers)
MariusStorhaug Jan 23, 2026
51bc591
Add pull-requests: write permission to Get-Settings workflow
MariusStorhaug Jan 23, 2026
94da564
Fix typo in README.md: correct "wether" to "whether" in workflow desc…
MariusStorhaug Jan 25, 2026
a2af56e
Remove JSCPD linter configuration file
MariusStorhaug Jan 25, 2026
0387b5d
Rename Auto-Release to Release-GHRepository
MariusStorhaug Jan 25, 2026
c7f8a84
Fix version comment to use patch level
MariusStorhaug Jan 25, 2026
be469e2
⬆️ Update GitHub-Script to v1.7.10
MariusStorhaug Jan 25, 2026
50c9854
Update Get-Settings workflow to use specific version of Get-PSModuleS…
MariusStorhaug Jan 27, 2026
0b403ab
Update Publish-Module workflow to use latest version of Publish-PSModule
MariusStorhaug Jan 27, 2026
150c481
🩹 [Patch]: Update supported change types and execution steps in PR pr…
MariusStorhaug Jan 27, 2026
e2ed0e5
Merge branch 'workflow-updates' of https://github.com/PSModule/Proces…
MariusStorhaug Jan 27, 2026
addb663
⬆️ Update workflow actions to latest versions across multiple files
MariusStorhaug Jan 27, 2026
89e3043
🔧 Update Publish-Module workflow to use version 2.2.2 of Publish-PSMo…
MariusStorhaug Jan 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions .github/linters/.jscpd.json

This file was deleted.

4 changes: 3 additions & 1 deletion .github/prompts/PSModule.pr.prompt.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link

Copilot AI Jan 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR description doesn't mention several significant changes in this pull request:

  1. Deletion of .github/release.yml (GitHub's automatic release notes configuration)
  2. Deletion of .github/linters/.jscpd.json (copy-paste detector configuration)
  3. Updates to .github/prompts/PSModule.pr.prompt.md (documentation for PR creation workflow)
  4. The temporary branch reference in Publish-Module.yml

The PR description should be updated to document these changes for better traceability and review context.

Copilot uses AI. Check for mistakes.

## User input

$ARGUMENTS
Expand Down Expand Up @@ -69,7 +71,7 @@ $ARGUMENTS
- Stop if the user cannot provide either of these.

5. **Generate PR title**:
- **If issue title retrieved**: Use format `<Icon> <Issue Title>`
- **If issue title retrieved**: Use format `<Icon> [<Change Type>]: <Issue Title>`
- Examples:
- `🚀 [Feature]: Add support for custom module templates`
- `🪲 [Fix]: Resolve null reference in parameter validation`
Expand Down
18 changes: 0 additions & 18 deletions .github/release.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/AfterAll-ModuleLocal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Auto-Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ 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

- name: Auto-Release
uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5
uses: PSModule/Release-GHRepository@88c70461c8f16cc09682005bcf3b7fca4dd8dc1a # v2
Comment thread
MariusStorhaug marked this conversation as resolved.
Outdated
with:
IncrementalPrerelease: false
2 changes: 1 addition & 1 deletion .github/workflows/BeforeAll-ModuleLocal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build-Docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build-Module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Build-Site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/Get-Settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
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:
Expand All @@ -49,13 +50,13 @@
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

- name: Get-Settings
uses: PSModule/Get-PSModuleSettings@28c1805d689dc5bfcfba7489e76c34a6d33d7da8 # v1.4.0
uses: PSModule/Get-PSModuleSettings@feature/important-file-changes
Comment thread Fixed
Comment thread
MariusStorhaug marked this conversation as resolved.
Outdated
Comment thread
MariusStorhaug marked this conversation as resolved.
Outdated
Comment thread
MariusStorhaug marked this conversation as resolved.
Outdated
id: Get-Settings
with:
SettingsPath: ${{ inputs.SettingsPath }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Lint-Repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Lint-SourceCode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Publish-Module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/Test-Module.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test-ModuleLocal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Test-SourceCode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@
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
Comment thread Fixed
Comment thread
MariusStorhaug marked this conversation as resolved.
Outdated
Comment thread
MariusStorhaug marked this conversation as resolved.
Outdated

# Runs on:
# - ✅ Open/Updated PR - Always runs to load configuration
# - ✅ Merged PR - Always runs to load configuration
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading