Skip to content

Commit a76b56f

Browse files
Merge branch 'main' of https://github.com/PSModule/Process-PSModule into 001-settings-driven-workflow
2 parents 2452230 + 78c2264 commit a76b56f

20 files changed

+173
-172
lines changed

.github/linters/.markdown-lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ MD026:
1818
MD029: false # Ordered list item prefix
1919
MD033: false # Allow inline HTML
2020
MD036: false # Emphasis used instead of a heading
21+
MD060:
22+
style: "leading" # Table column style (leading avoids emoji width issues)
2123

2224
#################
2325
# Rules by tags #

.github/prompts/PSModule.constitution.prompt.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Two operating modes:
2929

3030
Replacement Analysis Table (when overlap detected):
3131

32-
| Existing Item | Proposed New / Change | Overlap Basis | Suggested Action |
33-
|---------------|-----------------------|---------------|------------------|
34-
| <title / section> | <incoming title / change> | e.g. semantic similarity, scope duplication | Replace / Merge / Keep Both |
32+
| Existing Item | Proposed New / Change | Overlap Basis | Suggested Action |
33+
|---------------------|---------------------------|----------------------------------------------|----------------------------|
34+
| <title / section> | <incoming title / change> | e.g. semantic similarity, scope duplication | Replace / Merge / Keep Both |
3535

3636
Heuristics for overlap:
3737
- Title similarity score (case-insensitive) >= 0.6 (rough string similarity) OR

.github/prompts/PSModule.plan.prompt.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@ Given the implementation details provided as an argument, do this:
102102
- **Use the same title for the PR**: The PR title must match the issue title exactly
103103
- If unable to retrieve the issue title, determine the PR type and icon based on the changes:
104104

105-
| Type of change | Icon | Label |
106-
|-|-|-|
107-
| Docs | 📖 | Docs |
108-
| Fix | 🪲 | Fix, Patch |
109-
| Security fix | ⚠️ | Fix |
110-
| Patch | 🩹 | Patch |
111-
| Feature | 🚀 | Minor |
112-
| Breaking change | 🌟 | Major |
105+
| Type of change | Icon | Label |
106+
| --------------- | ---- | ---------- |
107+
| Docs | 📖 | Docs |
108+
| Fix | 🪲 | Fix, Patch |
109+
| Security fix | ⚠️ | Fix |
110+
| Patch | 🩹 | Patch |
111+
| Feature | 🚀 | Minor |
112+
| Breaking change | 🌟 | Major |
113113

114114
- Fallback PR title format (if issue title unavailable): `<Icon> [Type of change]: <Short description>`
115115
- Create PR description:

.github/prompts/PSModule.pr.prompt.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ $ARGUMENTS
1414

1515
## Supported Change Types
1616

17-
| Type | Icon | Labels | Description |
18-
|------|------|--------|-------------|
19-
| Major | 🌟 | `Major` | Breaking changes that affect compatibility |
20-
| Minor | 🚀 | `Minor` | New features or enhancements |
21-
| Patch | 🩹 | `Patch` | Small fixes or improvements |
22-
| Fix | 🪲 | `Fix`, `Patch` | Bugfixes |
23-
| Docs | 📖 | `Docs` | Documentation changes only |
17+
| Type | Icon | Labels | Description |
18+
| ----- | ---- | -------------- | ------------------------------------------ |
19+
| Major | 🌟 | `Major` | Breaking changes that affect compatibility |
20+
| Minor | 🚀 | `Minor` | New features or enhancements |
21+
| Patch | 🩹 | `Patch` | Small fixes or improvements |
22+
| Fix | 🪲 | `Fix`, `Patch` | Bugfixes |
23+
| Docs | 📖 | `Docs` | Documentation changes only |
2424

2525
## Execution Steps
2626

.github/workflows/Auto-Release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout Code
29-
uses: actions/checkout@v5
29+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3030

3131
- name: Auto-Release
32-
uses: PSModule/Auto-Release@v1
32+
uses: PSModule/Auto-Release@eabd533035e2cb9822160f26f2eda584bd012356 # v1.9.5
3333
with:
3434
IncrementalPrerelease: false

.github/workflows/Build-Docs.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,33 +48,33 @@ jobs:
4848
runs-on: ubuntu-latest
4949
steps:
5050
- name: Checkout Code
51-
uses: actions/checkout@v5
51+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
5252
with:
5353
persist-credentials: false
5454
fetch-depth: 0
5555

5656
- name: Download module artifact
57-
uses: actions/download-artifact@v5
57+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
5858
with:
5959
name: module
6060
path: ${{ inputs.WorkingDirectory }}/outputs/module
6161

6262
- name: Document module
63-
uses: PSModule/Document-PSModule@v1
63+
uses: PSModule/Document-PSModule@15dc407c99e408fc0a4023d4f16aee2a5507ba74 # v1.0.12
6464
with:
6565
Name: ${{ inputs.Name }}
6666
WorkingDirectory: ${{ inputs.WorkingDirectory }}
6767

6868
- name: Upload docs artifact
69-
uses: actions/upload-artifact@v4
69+
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
7070
with:
7171
name: docs
7272
path: ${{ inputs.WorkingDirectory }}/outputs/docs
7373
if-no-files-found: error
7474
retention-days: 1
7575

7676
- name: Commit all changes
77-
uses: PSModule/GitHub-Script@v1
77+
uses: PSModule/GitHub-Script@00547bff5a143fbfc23a912a783fbfe9c470815c # v1.7.4
7878
with:
7979
Debug: ${{ inputs.Debug }}
8080
Prerelease: ${{ inputs.Prerelease }}
@@ -102,7 +102,7 @@ jobs:
102102
103103
- name: Lint documentation
104104
id: super-linter
105-
uses: super-linter/super-linter/slim@7bba2eeb89d01dc9bfd93c497477a57e72c83240 # v8.2.0
105+
uses: super-linter/super-linter/slim@502f4fe48a81a392756e173e39a861f8c8efe056 # v8.3.0
106106
env:
107107
RUN_LOCAL: true
108108
DEFAULT_BRANCH: main

.github/workflows/Build-Module.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
GH_TOKEN: ${{ github.token }}
3030
steps:
3131
- name: Checkout Code
32-
uses: actions/checkout@v5
32+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
3333
with:
3434
persist-credentials: false
3535
fetch-depth: 0
3636

3737
- name: Build module
38-
uses: PSModule/Build-PSModule@v4
38+
uses: PSModule/Build-PSModule@fe8cc14a7192066cc46cb9514659772ebde05849 # v4.0.9
3939
with:
4040
Name: ${{ inputs.Name }}
4141
ArtifactName: ${{ inputs.ArtifactName }}

.github/workflows/Build-Site.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,16 +42,16 @@ jobs:
4242
runs-on: ubuntu-latest
4343
steps:
4444
- name: Checkout Code
45-
uses: actions/checkout@v5
45+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
4646
with:
4747
persist-credentials: false
4848
fetch-depth: 0
4949

5050
- name: Install-PSModuleHelpers
51-
uses: PSModule/Install-PSModuleHelpers@v1
51+
uses: PSModule/Install-PSModuleHelpers@d60d63e4be477d1ca0c67c6085101fb109bce8f1 # v1.0.6
5252

5353
- name: Download docs artifact
54-
uses: actions/download-artifact@v5
54+
uses: actions/download-artifact@018cc2cf5baa6db3ef3c5f8a56943fffe632ef53 # v6.0.0
5555
with:
5656
name: docs
5757
path: ${{ inputs.WorkingDirectory }}/outputs/docs
@@ -65,7 +65,7 @@ jobs:
6565
pip install mkdocs-git-committers-plugin-2
6666
6767
- name: Structure site
68-
uses: PSModule/GitHub-Script@v1
68+
uses: PSModule/GitHub-Script@00547bff5a143fbfc23a912a783fbfe9c470815c # v1.7.4
6969
with:
7070
Debug: ${{ inputs.Debug }}
7171
Prerelease: ${{ inputs.Prerelease }}
@@ -173,7 +173,7 @@ jobs:
173173
mkdocs build --config-file mkdocs.yml --site-dir ../../_site
174174
}
175175
176-
- uses: actions/upload-pages-artifact@v4
176+
- uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
177177
with:
178178
name: github-pages
179179
path: ${{ inputs.WorkingDirectory }}/_site

.github/workflows/Get-CodeCoverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-latest
4949
steps:
5050
- name: Get-CodeCoverage
51-
uses: PSModule/Get-PesterCodeCoverage@v1
51+
uses: PSModule/Get-PesterCodeCoverage@a7923eefbf55b452f9b1534c5b50ca9bd192f810 # v1.0.3
5252
id: Get-CodeCoverage
5353
with:
5454
CodeCoveragePercentTarget: ${{ inputs.CodeCoveragePercentTarget }}

.github/workflows/Get-Settings.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,13 @@ jobs:
6565
ModuleTestSuites: ${{ fromJson(steps.Get-Settings.outputs.result).ModuleTestSuites }}
6666
steps:
6767
- name: Checkout Code
68-
uses: actions/checkout@v5
68+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
6969
with:
7070
persist-credentials: false
7171
fetch-depth: 0
7272

7373
- name: Get-Settings
74-
uses: PSModule/GitHub-Script@v1
74+
uses: PSModule/GitHub-Script@00547bff5a143fbfc23a912a783fbfe9c470815c # v1.7.4
7575
id: Get-Settings
7676
env:
7777
PSMODULE_GET_SETTINGS_INPUT_Name: ${{ inputs.Name }}

0 commit comments

Comments
 (0)