Skip to content

Fix branch protection check for encoded branch names#55

Merged
mfoltz merged 1 commit into
codexfrom
4s5r0j-codex/url-encode-target_branch-in-workflow-2025-11-06t13-36-31z
Nov 6, 2025
Merged

Fix branch protection check for encoded branch names#55
mfoltz merged 1 commit into
codexfrom
4s5r0j-codex/url-encode-target_branch-in-workflow-2025-11-06t13-36-31z

Conversation

@mfoltz
Copy link
Copy Markdown
Owner

@mfoltz mfoltz commented Nov 6, 2025

Summary

  • url-encode the target branch before calling the branch protection API

Testing

  • python - <<'PY'
    import urllib.parse
    print(urllib.parse.quote('feature/foo', safe=''))
    PY

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

@mfoltz mfoltz merged commit b7fac07 into codex Nov 6, 2025
@mfoltz mfoltz deleted the 4s5r0j-codex/url-encode-target_branch-in-workflow-2025-11-06t13-36-31z branch November 6, 2025 13:42
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