Skip to content

Commit 3bd7943

Browse files
committed
chore(actions): Move project id to a var (#126)
1 parent b67f9a6 commit 3bd7943

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/add-issues-to-engineering-project.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ jobs:
1414
github-token: ${{ secrets.GH_TOKEN_ADD_TO_ENG_PROJECT }}
1515
script: |
1616
const issueId = context.payload.issue.node_id;
17-
const projectId = '22';
1817
1918
const mutation = `
2019
mutation {
2120
addProjectV2ItemById(input: {
22-
projectId: "${projectId}",
21+
projectId: "${{ vars.ENGINEERING_PROJECT_ID }}",
2322
contentId: "${issueId}"
2423
}) {
2524
item {

0 commit comments

Comments
 (0)