Skip to content

Commit

Permalink
fix(issue-triage-area): workflow cleanup (#4379)
Browse files Browse the repository at this point in the history
* fix(issue-triage-area): workflow remove -r

* fix: update project id/number

---------

Co-authored-by: Anna Wen <[email protected]>
  • Loading branch information
ariellalgilmore and annawen1 authored Dec 9, 2024
1 parent ef998db commit ae42036
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/issue-triage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ env:
OWNER: ${{ github.repository_owner }}
REPOSITORY: ${{ github.repository }}

PROJECT_ID: 39
PROJECT_NUMBER: 39
PROJECT_ID: PVT_kwDOAYA3Ss1Nvw
ITEM_FETCH_LIMIT: 1200

AREA_FIELD_ID: PVTSSF_lADOAYA3Ss1Nv84BfRL4
AREA_WEBSITE: 113a0859
jobs:
Expand All @@ -32,7 +33,7 @@ jobs:
- name: Get issue ID
id: get_issue_id
run: |
ISSUE_ID=$(gh project item-list $PROJECT_ID --owner=$OWNER --limit=$ITEM_FETCH_LIMIT --format=json --jq ".items[] | select(.content.number == $ISSUE_NUMBER and .content.repository == $REPOSITORY) | .id" -r)
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")
if [ -z "$ISSUE_ID" ]; then
echo "Issue ID not found for issue number $ISSUE_NUMBER"
exit 1
Expand Down

0 comments on commit ae42036

Please sign in to comment.