Skip to content

Commit a17943f

Browse files
refactor: Remove Invoke-GitCommit function calls from index update scripts
1 parent fec400e commit a17943f

4 files changed

Lines changed: 0 additions & 17 deletions

File tree

.github/scripts/Helper.psm1

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,3 @@
5555
Set-Content -Path $Path -Value $updatedContent
5656
}
5757
}
58-
59-
function Invoke-GitCommit {
60-
[CmdletBinding()]
61-
param(
62-
[Parameter()]
63-
[string] $Message = 'Auto-generated changes'
64-
)
65-
git add .
66-
git commit -m $Message
67-
git push
68-
}

.github/scripts/Update-ActionIndex.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,3 @@ $actionTableRows</table>
5151
"@
5252
#endregion
5353
Update-MDSection -Path '.\docs\GitHub-Actions\index.md' -Name 'ACTION_LIST' -Content $actionTable
54-
55-
Invoke-GitCommit -Message 'Update Action index'

.github/scripts/Update-FunctionAppIndex.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,3 @@ $functionAppTableRows</table>
5050
"@
5151

5252
Update-MDSection -Path '.\docs\PowerShell\FunctionApps\index.md' -Name 'FUNCTIONAPP_LIST' -Content $functionAppTable
53-
54-
Invoke-GitCommit -Message 'Update FunctionApp index'

.github/scripts/Update-ModuleIndex.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ $moduleTableRows</table>
4545
"@
4646

4747
Update-MDSection -Path '.\docs\PowerShell\Modules\index.md' -Name 'MODULE_LIST' -Content $moduleTable
48-
49-
Invoke-GitCommit -Message 'Update Module index'

0 commit comments

Comments
 (0)