From 76ee381397ba19a8493ca08bfaca51f6dc5fe9a8 Mon Sep 17 00:00:00 2001 From: souvik Date: Thu, 19 Sep 2024 11:24:52 +0530 Subject: [PATCH] Update transfer-issue.yml --- .github/workflows/transfer-issue.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/transfer-issue.yml b/.github/workflows/transfer-issue.yml index 3d41c4e2..7137c885 100644 --- a/.github/workflows/transfer-issue.yml +++ b/.github/workflows/transfer-issue.yml @@ -6,7 +6,6 @@ on: types: - created - jobs: transfer: if: ${{(!github.event.issue.pull_request && github.event.issue.state != 'closed' && github.actor != 'asyncapi-bot') && (startsWith(github.event.comment.body, '/trasfer-issue') || startsWith(github.event.comment.body, '/ti'))}} @@ -14,22 +13,13 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v4 - - name: Install GitHub CLI - run: | - sudo apt-get update - sudo apt-get install gh - - name: Authenticate GitHub CLI - run: | - gh action login --with-token <<< "${{ secrets.GH_TOKEN }}" - - name: Extract Input id: extract_step run: | COMMENT="${{github.event.comment.body}}" REPO=$(echo $COMMENT | awk '{print $2}') echo repo=$REPO >> $GITHUB_OUTPUT - - name: Trasfer Issue + working-directory: ./ run: | gh issue transfer ${{github.event.issue.number}} asyncapi/${{steps.extract_step.outputs.repo}} -