Skip to content

fix: guard GitHub App token setup#35

Merged
Pigbibi merged 1 commit intomainfrom
fix/github-app-if-guard
Apr 2, 2026
Merged

fix: guard GitHub App token setup#35
Pigbibi merged 1 commit intomainfrom
fix/github-app-if-guard

Conversation

@Pigbibi
Copy link
Copy Markdown
Collaborator

@Pigbibi Pigbibi commented Apr 2, 2026

Summary

  • detect GitHub App credentials in a shell step before creating the installation token
  • avoid invalid workflow expressions that reference secrets directly in step if conditions
  • keep the new App-first token flow and PAT fallback unchanged otherwise

Verification

  • python3 -m unittest tests/test_monthly_optimization_planner_workflow_config.py
  • uvx ruff check tests
  • ruby YAML parse for .github/workflows/monthly_optimization_planner.yml

@Pigbibi Pigbibi merged commit bf5a4e6 into main Apr 2, 2026
1 check passed
@Pigbibi Pigbibi deleted the fix/github-app-if-guard branch April 2, 2026 08:50
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