From a532fd381c48101f5b001d08ccb2a734afe2ec26 Mon Sep 17 00:00:00 2001 From: Divyansh Singh <40380293+brc-dd@users.noreply.github.com> Date: Sat, 17 Aug 2024 22:24:44 +0530 Subject: [PATCH] ci: use gh cli instead of action-add-labels --- .github/workflows/cr-comment.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cr-comment.yml b/.github/workflows/cr-comment.yml index d6b817904f15..203b7e11a252 100644 --- a/.github/workflows/cr-comment.yml +++ b/.github/workflows/cr-comment.yml @@ -13,7 +13,6 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: cr-tracked - github_token: ${{ secrets.CR_PAT }} + - run: gh issue edit ${{ github.event.issue.number }} --add-label cr-tracked --repo ${{ github.repository }} + env: + GITHUB_TOKEN: ${{ secrets.CR_PAT }}