mirror of
https://github.com/actions/add-to-project.git
synced 2025-12-10 12:07:05 +00:00
Build and package
Setting pckage version
This commit is contained in:
4
dist/index.js
generated
vendored
4
dist/index.js
generated
vendored
@@ -102,7 +102,7 @@ function addToProject() {
|
||||
// Next, use the GraphQL API to add the issue to the project.
|
||||
const addResp = yield octokit.graphql(`mutation addIssueToProject($input: AddProjectV2ItemByIdInput!) {
|
||||
addProjectV2ItemById(input: $input) {
|
||||
projectItem {
|
||||
item {
|
||||
id
|
||||
}
|
||||
}
|
||||
@@ -112,7 +112,7 @@ function addToProject() {
|
||||
contentId
|
||||
}
|
||||
});
|
||||
core.setOutput('itemId', addResp.addProjectV2ItemById.projectItem.id);
|
||||
core.setOutput('itemId', addResp.addProjectV2ItemById.item.id);
|
||||
});
|
||||
}
|
||||
exports.addToProject = addToProject;
|
||||
|
||||
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
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@actions/add-to-project",
|
||||
"description": "Automatically issues and PRs to GitHub projects",
|
||||
"version": "0.0.0",
|
||||
"description": "Automatically adds issues and PRs to GitHub projects",
|
||||
"version": "0.1.0",
|
||||
"author": "GitHub and contributors",
|
||||
"dependencies": {
|
||||
"@actions/core": "^1.6.0",
|
||||
|
||||
Reference in New Issue
Block a user