mirror of
https://github.com/marocchino/sticky-pull-request-comment.git
synced 2026-05-01 01:48:49 +00:00
🔧 baseUrl config
The `baseUrl`, which could be taken as an input, is required to use a custom GitHub Enterprise URL, for example.
This commit is contained in:
parent
f2c5111552
commit
292f33e766
4 changed files with 41 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ export const pullRequestNumber =
|
|||
context?.payload?.pull_request?.number ||
|
||||
+core.getInput("number", {required: false})
|
||||
|
||||
export const baseUrl = core.getInput("base_url", {required: true})
|
||||
export const repo = buildRepo()
|
||||
export const header = core.getInput("header", {required: false})
|
||||
export const append = core.getBooleanInput("append", {required: true})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue