Skip to content

Commit

Permalink
replace hub command with gh (#10)
Browse files Browse the repository at this point in the history
* replace hub with gh

ref: mislav/hub#3338 (comment)
ref: https://docs.github.com/ja/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally?tool=cli#modifying-an-active-pull-request-locally

* comment out the condition to test the action in unmerged branch

* Revert "comment out the condition to test the action in unmerged branch"

This reverts commit 6434288.
  • Loading branch information
tnyo43 committed Mar 3, 2024
1 parent 5703eb8 commit 4988fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
PR_URL="${{ github.event.issue.pull_request.url }}"
PR_NUM=${PR_URL##*/}
echo "Checking out from PR #$PR_NUM based on URL: $PR_URL"
hub pr checkout $PR_NUM
gh pr checkout $PR_NUM
- name: Test Local Action
id: test-action
Expand Down

0 comments on commit 4988fb6

Please sign in to comment.