Skip to content

Commit

Permalink
Update pr-issue_management.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
normal-wls authored Sep 9, 2024
1 parent e095ee0 commit 5cdd69d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-issue_management.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
echo "Issue ID: $ISSUE_ID"
gh api repos/${{ github.repository }}/issues/$ISSUE_ID/comments \
-F body="Linked to PR #${{ github.event.pull_request.number }}"
gh issue edit $ISSUE_ID --add-label "for_test"
gh issue edit $ISSUE_ID --add-label "stage/for_test"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -29,7 +29,7 @@ jobs:
ISSUE_ID=$(echo "${{ github.event.pull_request.title }}" | grep -oE '#[0-9]+$' | sed 's/#//')
if [ ! -z "$ISSUE_ID" ]; then
echo "Issue ID: $ISSUE_ID"
gh issue edit $ISSUE_ID --add-label "done"
gh issue edit $ISSUE_ID --add-label "stage/done"
fi
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 5cdd69d

Please sign in to comment.