We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02eff41 commit a12b637Copy full SHA for a12b637
Examples/SyncIssue.PSJekyll.ps1
@@ -16,8 +16,8 @@ if (-not $gitHubEvent.issue -and -not $gitHubEvent.discussion) {
16
if ($env:GitHubToken) {
17
"GitHub Token is present" | Out-Host
18
}
19
-if ($env:GitHubToken -and $env:GITHUB_REPOSIORY) {
20
- $owner, $repo = $env:GITHUB_REPOSIORY -split '/'
+if ($env:GitHubToken -and $githubEvent.Repository) {
+ $owner, $repo = $githubEvent.Repository.owner.login, $githubEvent.Repository.name
21
"Getting issues for $owner, $repo" | Out-Host
22
$queryString = @(
23
if ($IssueState) {
0 commit comments