Skip to content

Commit 9461590

Browse files
author
James Brundage
committed
feat: GQL action ( Fixes #9 )
1 parent d831ea0 commit 9461590

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

Build/GitHub/Actions/GQLAction.ps1

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
<#
22
.Synopsis
3-
GitHub Action for ugit
3+
GitHub Action for GQL
44
.Description
5-
GitHub Action for ugit. This will:
5+
GitHub Action for GQL. This will:
66
7-
* Import ugit
7+
* Import GQL
88
* If `-Run` is provided, run that script
9-
* Otherwise, unless `-SkipScriptFile` is passed, run all *.ugit.ps1 files beneath the workflow directory
9+
* Otherwise, unless `-SkipScriptFile` is passed, run all *.GQL.ps1 files beneath the workflow directory
1010
* If any `-ActionScript` was provided, run scripts from the action path that match a wildcard pattern.
1111
1212
If you will be making changes using the GitHubAPI, you should provide a -GitHubToken
@@ -16,13 +16,13 @@
1616
#>
1717

1818
param(
19-
# A PowerShell Script that uses ugit.
19+
# A PowerShell Script that uses GQL.
2020
# Any files outputted from the script will be added to the repository.
2121
# If those files have a .Message attached to them, they will be committed with that message.
2222
[string]
2323
$Run,
2424

25-
# If set, will not process any files named *.ugit.ps1
25+
# If set, will not process any files named *.GQL.ps1
2626
[switch]
2727
$SkipScriptFile,
2828

@@ -82,7 +82,7 @@ $gitHubEvent | Format-List | Out-Host
8282

8383

8484
$anyFilesChanged = $false
85-
$ActionModuleName = 'PSJekyll'
85+
$ActionModuleName = 'GQL'
8686
$actorInfo = $null
8787

8888

action.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ inputs:
55
Run:
66
required: false
77
description: |
8-
A PowerShell Script that uses ugit.
8+
A PowerShell Script that uses GQL.
99
Any files outputted from the script will be added to the repository.
1010
If those files have a .Message attached to them, they will be committed with that message.
1111
SkipScriptFile:
1212
required: false
13-
description: 'If set, will not process any files named *.ugit.ps1'
13+
description: 'If set, will not process any files named *.GQL.ps1'
1414
InstallModule:
1515
required: false
1616
description: A list of modules to be installed from the PowerShell gallery before scripts run.
@@ -92,13 +92,13 @@ runs:
9292
Write-Host "::debug:: GQLAction $(@(foreach ($p in $Parameters.GetEnumerator()) {'-' + $p.Key + ' ' + $p.Value}) -join ' ')"
9393
& {<#
9494
.Synopsis
95-
GitHub Action for ugit
95+
GitHub Action for GQL
9696
.Description
97-
GitHub Action for ugit. This will:
97+
GitHub Action for GQL. This will:
9898
99-
* Import ugit
99+
* Import GQL
100100
* If `-Run` is provided, run that script
101-
* Otherwise, unless `-SkipScriptFile` is passed, run all *.ugit.ps1 files beneath the workflow directory
101+
* Otherwise, unless `-SkipScriptFile` is passed, run all *.GQL.ps1 files beneath the workflow directory
102102
* If any `-ActionScript` was provided, run scripts from the action path that match a wildcard pattern.
103103
104104
If you will be making changes using the GitHubAPI, you should provide a -GitHubToken
@@ -108,13 +108,13 @@ runs:
108108
#>
109109
110110
param(
111-
# A PowerShell Script that uses ugit.
111+
# A PowerShell Script that uses GQL.
112112
# Any files outputted from the script will be added to the repository.
113113
# If those files have a .Message attached to them, they will be committed with that message.
114114
[string]
115115
$Run,
116116
117-
# If set, will not process any files named *.ugit.ps1
117+
# If set, will not process any files named *.GQL.ps1
118118
[switch]
119119
$SkipScriptFile,
120120
@@ -174,7 +174,7 @@ runs:
174174
175175
176176
$anyFilesChanged = $false
177-
$ActionModuleName = 'PSJekyll'
177+
$ActionModuleName = 'GQL'
178178
$actorInfo = $null
179179
180180

0 commit comments

Comments
 (0)