Skip to content

Commit 02eff41

Browse files
author
James Brundage
committed
test: SyncIssue with token ( re #91 ) [skip ci]
Checking for token only with environment variable
1 parent c569bd9 commit 02eff41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Examples/SyncIssue.PSJekyll.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (-not $gitHubEvent.issue -and -not $gitHubEvent.discussion) {
1616
if ($env:GitHubToken) {
1717
"GitHub Token is present" | Out-Host
1818
}
19-
if ($GitHubToken -and $env:GITHUB_REPOSIORY) {
19+
if ($env:GitHubToken -and $env:GITHUB_REPOSIORY) {
2020
$owner, $repo = $env:GITHUB_REPOSIORY -split '/'
2121
"Getting issues for $owner, $repo" | Out-Host
2222
$queryString = @(

0 commit comments

Comments
 (0)