From 0f6aec9f9118fe0d2d8066cf2d5fcfc736a805c5 Mon Sep 17 00:00:00 2001 From: ariellalgilmore Date: Thu, 12 Dec 2024 12:31:15 -0800 Subject: [PATCH] fix(issue-triage): hardcode repository --- .github/workflows/issue-triage.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml index 56994a72569..c4b94a9ac47 100644 --- a/.github/workflows/issue-triage.yml +++ b/.github/workflows/issue-triage.yml @@ -7,7 +7,6 @@ on: env: ISSUE_NUMBER: ${{ github.event.issue.number }} OWNER: ${{ github.repository_owner }} - REPOSITORY: ${{ github.repository }} PROJECT_NUMBER: 39 PROJECT_ID: PVT_kwDOAYA3Ss1Nvw @@ -28,7 +27,7 @@ jobs: - name: Get issue ID id: get_issue_id run: | - ISSUE_ID=$(gh project item-list $PROJECT_NUMBER --owner=$OWNER --limit=$ITEM_FETCH_LIMIT --format=json --jq ".items[] | select(.content.number == $ISSUE_NUMBER and .content.repository == $REPOSITORY) | .id") + ISSUE_ID=$(gh project item-list $PROJECT_NUMBER --owner=$OWNER --limit=$ITEM_FETCH_LIMIT --format=json --jq '.items[] | select(.content.number == $ISSUE_NUMBER and .content.repository == "carbon-design-system/carbon-website") | .id') if [ -z "$ISSUE_ID" ]; then echo "Issue ID not found for issue number $ISSUE_NUMBER" exit 1