A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!
TypeScript agent-skillsaidsh-pluginhacktoberfestjavascriptmcp-serverreactresume-builderself-hostedtypescript
ci(docker): omit the Turbo token secret when there is no token
Amruth Pillai19770b17bed2
diff --git a/.agents/docs/turbo-remote-cache.md b/.agents/docs/turbo-remote-cache.mdindex ed195a1ce..7377dcb29 100644--- a/.agents/docs/turbo-remote-cache.md+++ b/.agents/docs/turbo-remote-cache.md@@ -7,7 +7,13 @@ results, so nothing they build reaches a published image or a Vercel deployment.## Setup1. In the Vercel team that owns the deployment: Settings → Build and Deployment → OIDC Policies for CLI Access →- add a Turborepo CLI policy for GitHub repository `reactive-resume/reactive-resume`, restricted to branch `main`.+ add a Turborepo CLI policy with a custom issuer and claims. A GitHub-preset policy rejected this repository's+ tokens with `Not authorized.`: the repository uses GitHub's immutable OIDC subject, so `sub` carries owner and+ repository IDs instead of names.+ - Issuer: `https://token.actions.githubusercontent.com`+ - Audience: `https://github.com/reactive-resume` (GitHub's default; the action requests none)+ - Claim `sub`: `repo:reactive-resume@245328954/reactive-resume@249995750:ref:refs/heads/main`, which also limits+ tokens to main-branch runs2. Add the repository variable `TURBO_TEAM` with the team slug (`gh variable set TURBO_TEAM --body <slug>`).No secret is stored: `vercel/setup-turborepo-remote-cache-action` exchanges each job's GitHub OIDC token for adiff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.ymlindex 15314e0f5..b8794fe71 100644--- a/.github/workflows/docker-publish.yml+++ b/.github/workflows/docker-publish.yml@@ -166,9 +166,8 @@ jobs:build-args: |APP_REVISION=${{ steps.source.outputs.sha }}TURBO_TEAM=${{ env.TURBO_TEAM }}- # A secret, not a build arg: provenance records build args.- secrets: |- TURBO_TOKEN=${{ env.TURBO_TOKEN }}+ # A secret, not a build arg: provenance records build args. Omitted without a token, which an empty value can't be.+ secrets: ${{ env.TURBO_TOKEN && format('TURBO_TOKEN={0}', env.TURBO_TOKEN) || '' }}- name: Build and push image (Blacksmith)id: build-blacksmith