Skip to content

Commit 15bfd8e

Browse files
committed
Fix GitHub authentication command in action.yml to use echo for token input
1 parent 7add6ec commit 15bfd8e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ runs:
162162
id: copilot
163163
run: |
164164
echo "::group::Verifying GitHub authentication"
165-
gh auth login --with-token < $GH_TOKEN
165+
echo "$GH_TOKEN" | gh auth login --with-token
166166
gh auth status
167167
echo "::endgroup::"
168168

0 commit comments

Comments
 (0)