core-agent-ide/.github/workflows
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
..
ci.yml chore: upgrade to actions/setup-node@v5 (#3316) 2025-09-08 09:34:59 -07:00
cla.yml Fix CLA link in workflow (#964) 2025-05-16 17:11:57 -07:00
codespell.yml chore(deps): bump actions/checkout from 4 to 5 (#2407) 2025-08-19 10:28:52 -07:00
rust-ci.yml fix: add check to ensure output of generate_mcp_types.py matches codex-rs/mcp-types/src/lib.rs (#3450) 2025-09-10 23:31:28 -07:00
rust-release.yml fix: use -F instead of -f for force=true in gh call (#3486) 2025-09-11 11:32:47 -07:00