Skip to content

Commit c1bcb44

Browse files
committed
Refactor GitHub authentication in action.yml to use GITHUB_TOKEN environment variable
1 parent 15bfd8e commit c1bcb44

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,6 @@ runs:
162162
id: copilot
163163
run: |
164164
echo "::group::Verifying GitHub authentication"
165-
echo "$GH_TOKEN" | gh auth login --with-token
166165
gh auth status
167166
echo "::endgroup::"
168167
@@ -250,6 +249,7 @@ runs:
250249
echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT
251250
env:
252251
GH_TOKEN: ${{ inputs.github-token }}
252+
GITHUB_TOKEN: ${{ inputs.github-token }}
253253
PROMPT: ${{ inputs.prompt }}
254254
LOG_LEVEL: ${{ inputs.log-level }}
255255
ALLOW_ALL_TOOLS: ${{ inputs.allow-all-tools }}

0 commit comments

Comments
 (0)