mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-10 12:07:05 +00:00
Compare commits
1 Commits
47166aa929
...
camchenry/
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c433aa66a |
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user