From faf9607617505085d01ac9667729fc5ebcfe170b 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cmd-action.yml b/.github/workflows/cmd-action.yml index bfb4e58b2f9e2..c713a68364246 100644 --- a/.github/workflows/cmd-action.yml +++ b/.github/workflows/cmd-action.yml @@ -11,6 +11,9 @@ jobs: 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: