From 7c2d9a4d3a8dd507504fc254bf60282710c41eca Mon Sep 17 00:00:00 2001 From: santiagosayshey Date: Mon, 1 Jul 2024 13:30:10 +0930 Subject: [PATCH] fix: removed hardcoded issue link --- .github/workflows/add-issue-to-project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/add-issue-to-project.yml b/.github/workflows/add-issue-to-project.yml index feeec8a..cc56bd2 100644 --- a/.github/workflows/add-issue-to-project.yml +++ b/.github/workflows/add-issue-to-project.yml @@ -93,7 +93,7 @@ jobs: echo "Set status result: $result" # Get the label of the issue - LABEL=$(gh api repos/Dictionarry-Hub/profilarr/issues/123 --jq '.labels[0].name') + LABEL=$(gh api repos/Dictionarry-Hub/website/issues/${{ github.event.issue.number }} --jq '.labels[0].name') echo "Issue label: $LABEL" # Convert label to lowercase for comparison