core-agent-ide/.github
Michael Bolin 167154178b
fix: use -F instead of -f for force=true in gh call (#3486)
Apparently `-F` is the correct thing to use. From the code sample on 


https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28#update-a-reference

```shell
gh api \
  --method PATCH \
  -H "Accept: application/vnd.github+json" \
  -H "X-GitHub-Api-Version: 2022-11-28" \
  /repos/OWNER/REPO/git/refs/REF \
   -f 'sha=aa218f56b14c9653891f9e74264a383fa43fefbd' -F "force=true"
```

Also, I ran the following locally and verified it worked:

```shell
export GITHUB_REPOSITORY=openai/codex
export GITHUB_SHA=305252b2fb2d57bb40a9e4bad269db9a761f7099
gh api \
  repos/${GITHUB_REPOSITORY}/git/refs/heads/latest-alpha-cli \
  -X PATCH \
  -f sha="${GITHUB_SHA}" \
  -F force=true
```

`$GITHUB_REPOSITORY` and `$GITHUB_SHA` should already be available as
environment variables for the `run` step without having to be redeclared
in the `env` section.
2025-09-11 11:32:47 -07:00
..
codex fix: change the model used with the GitHub action from o3 to gpt-5 (#2198) 2025-08-11 15:08:58 -07:00
ISSUE_TEMPLATE Add a VS Code Extension issue template (#2853) 2025-08-28 16:56:52 -04:00
workflows fix: use -F instead of -f for force=true in gh call (#3486) 2025-09-11 11:32:47 -07:00
codex-cli-login.png README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
codex-cli-permissions.png update readme (#1948) 2025-08-07 11:20:53 -07:00
codex-cli-splash.png README / docs refactor (#2724) 2025-08-27 10:30:39 -07:00
demo.gif Initial commit 2025-04-16 12:56:08 -04:00
dependabot.yaml Enable Dependabot updates for Rust toolchain (#2460) 2025-08-19 18:07:21 -07:00
dotslash-config.json fix: leverage windows-11-arm for Windows ARM builds (#3062) 2025-09-02 12:56:09 -07:00
pull_request_template.md Fix: Adapt pr template with correct link following doc refacto (#2982) 2025-09-02 13:05:52 -04:00