From 7c29e8e993a5cde905284f35b82446c5ee6b521f Mon Sep 17 00:00:00 2001 From: Matthew Elwell Date: Fri, 23 May 2025 14:54:06 +0100 Subject: [PATCH] Move project id to a var --- .github/workflows/add-issues-to-engineering-project.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/add-issues-to-engineering-project.yml b/.github/workflows/add-issues-to-engineering-project.yml index e6bd968..0e820de 100644 --- a/.github/workflows/add-issues-to-engineering-project.yml +++ b/.github/workflows/add-issues-to-engineering-project.yml @@ -14,12 +14,11 @@ jobs: github-token: ${{ secrets.GH_TOKEN_ADD_TO_ENG_PROJECT }} script: | const issueId = context.payload.issue.node_id; - const projectId = '22'; const mutation = ` mutation { addProjectV2ItemById(input: { - projectId: "${projectId}", + projectId: "${{ vars.ENGINEERING_PROJECT_ID }}", contentId: "${issueId}" }) { item {