Skip to content

Make auth output reflect gh auth status - #6

Merged
kostua16 merged 1 commit into
mainfrom
codex/fix-auth-output-mismatch
Jun 10, 2026
Merged

Make auth output reflect gh auth status#6
kostua16 merged 1 commit into
mainfrom
codex/fix-auth-output-mismatch

Conversation

@kostua16

Copy link
Copy Markdown
Owner

Summary

  • Make auth reflect whether gh auth status --hostname succeeds after login instead of treating token export as enough.
  • Add a regression test that mocks gh auth status failure and verifies the action reports auth=false.
  • Update the action metadata and README to document the stricter auth contract.

Testing

  • Added workflow coverage for the failure case in .github/workflows/test-action.yml.
  • Not run (not requested).

@kostua16
kostua16 merged commit 7d67b96 into main Jun 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant