mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-12 13:07:21 +00:00
Build and package
This commit is contained in:
6
dist/index.js
generated
vendored
6
dist/index.js
generated
vendored
@@ -93,8 +93,7 @@ function addToProject() {
|
|||||||
}
|
}
|
||||||
}`, {
|
}`, {
|
||||||
ownerName,
|
ownerName,
|
||||||
projectNumber,
|
projectNumber
|
||||||
headers: { 'GraphQL-Features': 'memex_graphql_projectv2' }
|
|
||||||
});
|
});
|
||||||
const projectId = (_h = idResp[ownerTypeQuery]) === null || _h === void 0 ? void 0 : _h.projectV2.id;
|
const projectId = (_h = idResp[ownerTypeQuery]) === null || _h === void 0 ? void 0 : _h.projectV2.id;
|
||||||
const contentId = issue === null || issue === void 0 ? void 0 : issue.node_id;
|
const contentId = issue === null || issue === void 0 ? void 0 : issue.node_id;
|
||||||
@@ -111,8 +110,7 @@ function addToProject() {
|
|||||||
input: {
|
input: {
|
||||||
projectId,
|
projectId,
|
||||||
contentId
|
contentId
|
||||||
},
|
}
|
||||||
headers: { 'GraphQL-Features': 'memex_graphql_projectv2' }
|
|
||||||
});
|
});
|
||||||
core.setOutput('itemId', addResp.addProjectV2ItemById.projectItem.id);
|
core.setOutput('itemId', addResp.addProjectV2ItemById.projectItem.id);
|
||||||
});
|
});
|
||||||
|
|||||||
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user