From 13ae0633975e5707fee7af6eed8b30a707d9bf5e Mon Sep 17 00:00:00 2001 From: Javier Bullrich Date: Mon, 22 Apr 2024 15:39:06 +0200 Subject: [PATCH] implemented checkout for branch --- .github/workflows/cmd-action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmd-action.yml b/.github/workflows/cmd-action.yml index bfb4e58b2f9e2..c27d80e0b27aa 100644 --- a/.github/workflows/cmd-action.yml +++ b/.github/workflows/cmd-action.yml @@ -10,7 +10,9 @@ jobs: runs-on: ubuntu-latest name: Bot steps: - - uses: actions/checkout@v4 + - run: hub pr checkout ${{ github.event.issue.number || github.event.pull_request.number }} + env: + GITHUB_TOKEN: ${{ github.token }} - uses: paritytech/cmd-action@parse-comment id: cmd with: