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