Skip to content

ci: restrict default workflow token permissions - #85

Merged
edenreich merged 1 commit into
mainfrom
ci/restrict-workflow-token-permissions
Jul 8, 2026
Merged

edenreich merged 1 commit into
mainfrom
ci/restrict-workflow-token-permissions

Conversation

@edenreich

Copy link
Copy Markdown
Contributor

Adds a top-level permissions: contents: read block to workflows that omitted one, so the default GITHUB_TOKEN carries only the scope the workflow needs. Jobs that declare their own permissions: block are unaffected (job-level blocks override the top-level one), and the org default token is already read-only, so this is behavior-preserving.

Refs inference-gateway/.github#96

@inference-gateway-maintainer inference-gateway-maintainer Bot moved this to Todo in 2026 Jul 8, 2026
@edenreich
edenreich merged commit 8332324 into main Jul 8, 2026
1 check passed
@edenreich
edenreich deleted the ci/restrict-workflow-token-permissions branch July 8, 2026 16:08
@edenreich edenreich moved this from Todo to Done in 2026 Jul 8, 2026
inference-gateway-releaser Bot added a commit that referenced this pull request Jul 18, 2026
## [0.15.0](0.14.1...0.15.0) (2026-07-18)

### ✨ Features

* add llamacpp provider support ([#95](#95)) ([29a46ea](29a46ea))

### 👷 CI

* **claude:** centralize claude.yml via reusable workflow ([#89](#89)) ([d2a8ee4](d2a8ee4))
* **deps:** bump actions/setup-node in the github-actions group ([#92](#92)) ([63698db](63698db))
* **deps:** bump the cargo group with 2 updates ([#93](#93)) ([3357dec](3357dec))
* **infer:** centralize infer.yml via reusable workflow ([#86](#86)) ([e0e70c3](e0e70c3))
* **infer:** centralize infer.yml via reusable workflow ([#87](#87)) ([89b7929](89b7929))
* **release:** update semantic release and plugins to latest versions with local installation ([cf3f0b3](cf3f0b3))
* restrict default workflow token permissions to contents: read ([#85](#85)) ([8332324](8332324))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.197 -> 2.1.201 ([#80](#80)) ([5ab3e90](5ab3e90))
* **deps:** bump claude-code-action v1.0.165 -> v1.0.169 ([#88](#88)) ([1bd571f](1bd571f))
* **deps:** bump infer CLI v0.130.1 -> v0.133.0, infer-action v0.23.1 -> v0.26.0 ([#81](#81)) ([66d0524](66d0524))
* **deps:** bump infer CLI v0.133.0 -> v0.133.1, infer-action v0.26.0 -> v0.27.1 ([#82](#82)) ([df3c7f9](df3c7f9))
* **deps:** bump infer CLI v0.133.1 -> v0.137.0, infer-action v0.27.1 -> v0.29.0 ([#83](#83)) ([206bbae](206bbae))
* **deps:** bump infer CLI v0.137.0 -> v0.138.0, infer-action v0.29.0 -> v0.30.1 ([#84](#84)) ([1941802](1941802))
* **deps:** bump infer CLI v0.138.0 -> v0.141.0 ([#90](#90)) ([10ea2b6](10ea2b6))
* **deps:** bump infer CLI v0.141.0 -> v0.147.1 ([#91](#91)) ([dd372a3](dd372a3))
* **release:** update GitHub App credentials to use RELEASER_APP_ID and RELEASER_APP_PRIVATE_KEY ([95bd056](95bd056))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.15.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Jul 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

No open projects
Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant