Skip to content

Commit 0cd94b4

Browse files
Fix linting: terminology and alignment issues
1 parent e22ccce commit 0cd94b4

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ This GitHub Action is a part of the [PSModule framework](https://github.com/PSMo
88
| :---- | :---------- | :------: | :------ |
99
| `Name` | Name of the module. | No | Repository name |
1010
| `SettingsPath` | Path to the settings file (json, yaml/yml, or psd1). | No | |
11-
| `ImportantFilePatterns` | Newline-separated list of regex patterns that identify important files. Changes matching these patterns trigger build, test, and publish stages. | No | `^src/` and `^README\.md$` |
11+
| `ImportantFilePatterns` | Newline-separated list of regular expression patterns that identify important files. Changes matching these patterns trigger build, test, and publish stages. | No | `^src/` and `^README\.md$` |
1212
| `Debug` | Enable debug output. | No | `false` |
1313
| `Verbose` | Enable verbose output. | No | `false` |
1414
| `Version` | Specifies the version of the GitHub module to be installed. | No | |

src/main.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ LogGroup 'ImportantFilePatterns' {
107107
$settings = [pscustomobject]@{
108108
Name = $name
109109
ImportantFilePatterns = $importantFilePatterns
110-
Test = [pscustomobject]@{
110+
Test = [pscustomobject]@{
111111
Skip = $settings.Test.Skip ?? $false
112112
Linux = [pscustomobject]@{
113113
Skip = $settings.Test.Linux.Skip ?? $false
@@ -163,7 +163,7 @@ $settings = [pscustomobject]@{
163163
StepSummaryMode = $settings.Test.CodeCoverage.StepSummaryMode ?? 'Missed, Files'
164164
}
165165
}
166-
Build = [pscustomobject]@{
166+
Build = [pscustomobject]@{
167167
Skip = $settings.Build.Skip ?? $false
168168
Module = [pscustomobject]@{
169169
Skip = $settings.Build.Module.Skip ?? $false
@@ -176,7 +176,7 @@ $settings = [pscustomobject]@{
176176
Skip = $settings.Build.Site.Skip ?? $false
177177
}
178178
}
179-
Publish = [pscustomobject]@{
179+
Publish = [pscustomobject]@{
180180
Module = [pscustomobject]@{
181181
Skip = $settings.Publish.Module.Skip ?? $false
182182
AutoCleanup = $settings.Publish.Module.AutoCleanup ?? $true
@@ -194,7 +194,7 @@ $settings = [pscustomobject]@{
194194
UsePRTitleAsNotesHeading = $settings.Publish.Module.UsePRTitleAsNotesHeading ?? $true
195195
}
196196
}
197-
Linter = [pscustomobject]@{
197+
Linter = [pscustomobject]@{
198198
Skip = $settings.Linter.Skip ?? $false
199199
ShowSummaryOnSuccess = $settings.Linter.ShowSummaryOnSuccess ?? $false
200200
env = $settings.Linter.env ?? @{}
@@ -290,8 +290,8 @@ LogGroup 'Calculate Job Run Conditions:' {
290290
# Add a comment to open PRs explaining why build/test is skipped (best-effort, may fail if permissions not granted)
291291
if ($isOpenOrUpdatedPR) {
292292
$patternRows = ($importantPatterns | ForEach-Object {
293-
"| ``$_`` | Matches files where path matches this pattern |"
294-
}) -join "`n"
293+
"| ``$_`` | Matches files where path matches this pattern |"
294+
}) -join "`n"
295295
$commentBody = @"
296296
### No Significant Changes Detected
297297

0 commit comments

Comments
 (0)