Skip to content

Commit

Permalink
Revert "remove hardcoded userid for github actions"
Browse files Browse the repository at this point in the history
This reverts commit 27da052.
  • Loading branch information
f-meloni committed Nov 5, 2019
1 parent 2293291 commit 22ef49e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source/platforms/github/GitHubAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,11 @@ export class GitHubAPI {
return parseInt(perilID)
}

const useGitHubActionsID = process.env["GITHUB_WORKFLOW"]
if (useGitHubActionsID) {
return 41898282
}

const info = await this.getUserInfo()
return info.id
}
Expand Down

0 comments on commit 22ef49e

Please sign in to comment.