mirror of
https://github.com/mshick/add-pr-comment.git
synced 2026-01-01 14:49:44 +11:00
new build
This commit is contained in:
parent
06b07c2e70
commit
09331f990d
6 changed files with 133 additions and 45 deletions
|
|
@ -32,6 +32,8 @@ async function getInputs() {
|
|||
const messageId = messageIdInput === '' ? 'add-pr-comment' : `add-pr-comment:${messageIdInput}`;
|
||||
const messageInput = core.getInput('message', { required: false });
|
||||
const messagePath = core.getInput('message-path', { required: false });
|
||||
const messageFind = core.getMultilineInput('find', { required: false });
|
||||
const messageReplace = core.getMultilineInput('replace', { required: false });
|
||||
const repoOwner = core.getInput('repo-owner', { required: true });
|
||||
const repoName = core.getInput('repo-name', { required: true });
|
||||
const repoToken = core.getInput('repo-token', { required: true });
|
||||
|
|
@ -61,6 +63,8 @@ async function getInputs() {
|
|||
messageCancelled,
|
||||
messageSkipped,
|
||||
messagePath,
|
||||
messageFind,
|
||||
messageReplace,
|
||||
preformatted,
|
||||
proxyUrl,
|
||||
pullRequestNumber: (_b = payload.pull_request) === null || _b === void 0 ? void 0 : _b.number,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue