Skip to content

fix(wiki-sync): use single x-access-token auth path#78

Merged
davida-ps merged 1 commit intomainfrom
codex/wiki-sync-single-auth
Feb 25, 2026
Merged

fix(wiki-sync): use single x-access-token auth path#78
davida-ps merged 1 commit intomainfrom
codex/wiki-sync-single-auth

Conversation

@davida-ps
Copy link
Collaborator

@davida-ps davida-ps commented Feb 25, 2026

User description

Opener Type

  • Human
  • Agent (automated)

Summary

Changes Made

Related Issues


Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Security incident (please open a Security Incident Report issue instead of a PR)

Testing

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my changes
  • I have added tests that prove my fix/feature works
  • New and existing tests pass locally

Generated description

Below is a concise technical summary of the changes proposed in this PR:
Updates the wiki synchronization workflow to use a unified x-access-token authentication path for Git operations. Enhances the validation logic for the AUTOMATION_TOKEN by checking repository permissions and handling specific GitHub API error codes.

TopicDetails
Auth Simplification Simplifies Git authentication by using x-access-token instead of dynamically resolving the token owner's login via the GitHub API.
Modified files (1)
  • .github/workflows/wiki-sync.yml
Latest Contributors(1)
UserCommitDate
[email protected]Codex-main-synced-wiki...February 25, 2026
API Error Handling Implements robust error handling for token validation, including specific checks for 401 (unauthorized) and 404 (not found) status codes from the repository API.
Modified files (1)
  • .github/workflows/wiki-sync.yml
Latest Contributors(1)
UserCommitDate
[email protected]Codex-main-synced-wiki...February 25, 2026
This pull request is reviewed by Baz. Review like a pro on (Baz).

@davida-ps davida-ps merged commit 433a959 into main Feb 25, 2026
12 checks passed
@davida-ps davida-ps deleted the codex/wiki-sync-single-auth branch February 25, 2026 22:17
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