Customize a repository's OIDC subject claim
One step with GitHub Actions. We can help you get access.
Get something done
Customize a repository's OIDC subject claim
with GitHub Actions
Works with AI assistants
Use GitHub Actions: its GitHub Actions OIDC API lets you customize a repository's OIDC subject claim in a single step (PUT /repos/{owner}/{repo}/actions/oidc/customization/sub). GitHub Actions also has an MCP server, so an AI assistant like Claude or ChatGPT can do it for you. capabilities.work can help you get signed up and connected.
- How do I change which claims go into the OIDC sub for one repository?
- Can a repository go back to the default OIDC subject claim template?
Say it to your AI assistant
- Set the OIDC sub claim for {owner}/{repo} to include {include_claim_keys}.
- Make {owner}/{repo} use the default OIDC subject template: use_default {use_default}.
For your developer
PUT /repos/{owner}/{repo}/actions/oidc/customization/sub in GitHub Actions OIDC API. Full spec on APIs.io.