Add test changes

This commit is contained in:
Cam McHenry
2024-03-18 19:37:26 +00:00
parent 34dcf61506
commit 3c433aa66a

View File

@@ -117,6 +117,11 @@ export async function addToProject(): Promise<void> {
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<ProjectAddItemResponse>(
`mutation addIssueToProject($input: AddProjectV2ItemByIdInput!) {
addProjectV2ItemById(input: $input) {