core-agent-ide/.github
Michael Bolin 5332f6e215
fix: make publish-npm its own job with specific permissions (#3767)
The build for `v0.37.0-alpha.3` failed on the `Create GitHub Release`
step:

https://github.com/openai/codex/actions/runs/17786866086/job/50556513221

with:

```
⚠️ GitHub release failed with status: 403
{"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/releases/releases#create-a-release","status":"403"}
Skip retry — your GitHub token/PAT does not have the required permission to create a release
```

I believe I should have not introduced a top-level `permissions` for the
workflow in https://github.com/openai/codex/pull/3431 because that
affected the `permissions` for each job in the workflow.

This PR introduces `publish-npm` as its own job, which allows us to:

- consolidate all the Node.js-related steps required for publishing
- limit the reach of the `id-token: write` permission
- skip it altogether if is an alpha build

With this PR, each of `release`, `publish-npm`, and `update-branch` has
an explicit `permissions` block.
2025-09-16 22:55:53 -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: make publish-npm its own job with specific permissions (#3767) 2025-09-16 22:55:53 -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