diff --git a/scripts/github-actions/create-pull-request.js b/scripts/github-actions/create-pull-request.js index bacdefd9aec9..e1be67c54532 100644 --- a/scripts/github-actions/create-pull-request.js +++ b/scripts/github-actions/create-pull-request.js @@ -18,6 +18,7 @@ const createPullRequest = async ({ context, github, baseBranch, branchName, desc }) } + //add to firewatch board if (addToProjectBoard) { const addToProjectBoardQuery = ` mutation ($project_id: ID!, $item_id: ID!) { @@ -34,13 +35,11 @@ const createPullRequest = async ({ context, github, baseBranch, branchName, desc item_id: number, } - const addToProjectBoard = await github.graphql( + await github.graphql( addToProjectBoardQuery, - addToProjectBoardQueryVars + addToProjectBoardQueryVars, ) - } - } module.exports = {