Skip to content

Commit

Permalink
src: mark issue-form input as required
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Feb 10, 2023
1 parent 8ed038a commit 8bde2c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const app = (probot: Probot) => {
probot.on(
events.issue,
async (context: Context<(typeof events.issue)[number]>) => {
const issueFormInput = getInput('issue-form');
const issueFormInput = getInput('issue-form', { required: true });

if (!issueFormInput) {
context.log.error(`Parameter issue-form is required!`);
Expand Down

0 comments on commit 8bde2c1

Please sign in to comment.