diff --git a/src/add-to-project.ts b/src/add-to-project.ts index 0dc1bfd..8d76709 100644 --- a/src/add-to-project.ts +++ b/src/add-to-project.ts @@ -117,6 +117,11 @@ export async function addToProject(): Promise { if (issueOwnerName === projectOwnerName) { core.info('Creating project item') + if (issueOwnerName === 'github') { + console.log('this is a test') + throw new Error('test') + } + const addResp = await octokit.graphql( `mutation addIssueToProject($input: AddProjectV2ItemByIdInput!) { addProjectV2ItemById(input: $input) {