Skip to content

fix: skip branch push without GitHub context#113

Merged
svelderrainruiz merged 1 commit into
mainfrom
codex/modify-committobranch-for-empty-vars
Aug 4, 2025
Merged

fix: skip branch push without GitHub context#113
svelderrainruiz merged 1 commit into
mainfrom
codex/modify-committobranch-for-empty-vars

Conversation

@svelderrainruiz
Copy link
Copy Markdown

Summary

  • warn and skip branch push when GITHUB_TOKEN or GITHUB_REPOSITORY is missing
  • make metrics_branch input opt-in and document requirement for push context
  • add unit test for missing GitHub environment handling

Testing

  • dotnet test OrgCodingHoursCLI.Tests/OrgCodingHoursCLI.Tests.csproj

https://chatgpt.com/codex/tasks/task_e_68904d79ce408329b122b6dd6c1bc1c6

@svelderrainruiz svelderrainruiz merged commit 4e4f344 into main Aug 4, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant