Skip to content

Conversation

lgallard
Copy link
Owner

@lgallard lgallard commented Sep 1, 2025

Problem

The enhanced workflow failed at Pre-Discovery Verification step due to missing GitHub CLI authentication.

Root Cause

The pre-verification and issue creation steps were missing the GITHUB_TOKEN environment variable needed for gh CLI operations.

Solution

Added proper GitHub token environment to affected steps:

  • Pre-Discovery Verification step now has GITHUB_TOKEN: ${{ secrets.CLAUDE_ISSUE_TOKEN }}
  • Create GitHub Issues step now has GITHUB_TOKEN: ${{ secrets.CLAUDE_ISSUE_TOKEN }}
  • Made auth status check non-failing to prevent unnecessary workflow errors

Impact

🚀 Enables successful workflow execution from start to finish

This allows the enhanced issue creation workflow to run completely, from verification through issue creation to completion.

Testing

  • Previous run failed at pre-verification: ❌ You are not logged into any GitHub hosts
  • With this fix: ✅ Workflow will have proper GitHub CLI authentication

…e creation steps

Resolves authentication failure in Pre-Discovery Verification step by:
- Adding GITHUB_TOKEN environment to pre-verification step
- Adding GITHUB_TOKEN environment to issue creation step
- Making auth status check non-failing to prevent workflow errors

Ensures workflow steps have proper GitHub CLI authentication.
@lgallard lgallard added bug Something isn't working high-priority labels Sep 1, 2025
@lgallard lgallard self-assigned this Sep 1, 2025
@lgallard lgallard merged commit e3afa37 into master Sep 1, 2025
36 checks passed
@lgallard lgallard deleted the fix/github-token-environment branch September 1, 2025 11:26
@github-actions github-actions bot mentioned this pull request Sep 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant