Skip to content

Commit 096ea6d

Browse files
committed
Add GitHub authentication status check before running Copilot CLI
1 parent 4460b92 commit 096ea6d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/actions/copilot/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ runs:
9494
- name: Run Copilot CLI
9595
id: copilot
9696
run: |
97+
gh auth status
98+
9799
set +e # Don't exit on error
98100
99101
COPILOT_CMD="copilot"

0 commit comments

Comments
 (0)