Skip to content

Commit

Permalink
fix: added new input
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiancretu committed Feb 12, 2023
1 parent cb86926 commit ef1934e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/github.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ interface NotionProperties {
* @returns {Inputs}
*/
const getInputs = (): Inputs => {
console.log(JSON.stringify(context));
const pullRequest = context.payload.pull_request;
const state = pullRequest?.merged
? 'merged'
Expand All @@ -51,6 +50,9 @@ const getInputs = (): Inputs => {
pr_id_column_name: getInput('notion_pr_id_column_name', {
required: false,
}),
pr_state_column_name: getInput('notion_pr_state_column_name', {
required: false,
}),
status: state && getInput(state, { required: false }),
},
pull_request: {
Expand Down

0 comments on commit ef1934e

Please sign in to comment.