Nix flake for OpenAI Codex CLI - native Rust binary, hourly updates, multi-platform caching
codex-cli-nix .github REPOSITORY_SETTINGS.md
1.2 kB
Markdown
at main

Repository Settings Configuration #

This repository requires specific GitHub settings to enable automated updates.

Required Settings #

GitHub Actions Permissions #

  1. Navigate to Settings → Actions → General
  2. Under "Workflow permissions":
    • Select "Read and write permissions"
    • Check "Allow GitHub Actions to create and approve pull requests"
  3. Click Save

These settings allow the update-claude-code.yml workflow to:

  • Modify files in the repository
  • Create pull requests for version updates
  • Update the flake.lock file

Verification #

After configuring the settings, you can verify the workflow works by:

# Manually trigger the update workflow
gh workflow run "Update Claude Code Version"

# Check the workflow status
gh run list --workflow="Update Claude Code Version"

Troubleshooting #

If you see the error "GitHub Actions is not permitted to create or approve pull requests":

  • Ensure the settings above are properly configured
  • The repository must not have branch protection rules that prevent GitHub Actions from creating PRs
  • The workflow uses the built-in GITHUB_TOKEN which is automatically provided