From 936591233aba2a11514e4efecb867d2759256581 Mon Sep 17 00:00:00 2001 From: Carlos Herrero <26092748+hbcarlos@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:20:40 +0200 Subject: [PATCH] Switch from hub to gh CLI (#199) --- .github/workflows/license-header.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/license-header.yml b/.github/workflows/license-header.yml index 1046e76c..7ed6132e 100644 --- a/.github/workflows/license-header.yml +++ b/.github/workflows/license-header.yml @@ -21,7 +21,7 @@ jobs: run: git config --global hub.protocol https - name: Checkout the branch from the PR that triggered the job - run: hub pr checkout ${{ github.event.pull_request.number }} + run: gh pr checkout ${{ github.event.pull_request.number }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}