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
fix(ci): preserve autofix workflow security contract
Amruth Pillaif89b86c04101
diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.ymlnew file mode 100644index 000000000..4fe20fd7b--- /dev/null+++ b/.github/workflows/autofix.yml@@ -0,0 +1,58 @@+name: autofix.ci++on:+ pull_request:+ push:+ branches: ["main"]++permissions:+ contents: read++concurrency:+ group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}+ cancel-in-progress: ${{ github.event_name == 'pull_request' }}++env:+ FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true++jobs:+ autofix:+ timeout-minutes: 20+ runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}++ steps:+ - name: Checkout Repository+ if: ${{ vars.USE_BLACKSMITH != 'true' }}+ uses: actions/checkout@v7++ - name: Checkout Repository (Blacksmith)+ if: ${{ vars.USE_BLACKSMITH == 'true' }}+ uses: useblacksmith/checkout@v1++ - name: Check for merge conflict markers+ run: |+ if git grep -nEI '<{7} |>{7} |^={7}$' -- ':(exclude)*.md' ':(exclude)*.mdx'; then+ echo "::error::Merge conflict markers found in tracked files"+ exit 1+ fi++ - name: Install pnpm+ uses: pnpm/action-setup@v6++ - name: Setup Node+ uses: actions/setup-node@v7+ with:+ node-version-file: ".nvmrc"+ cache: "pnpm"++ - name: Install Dependencies+ run: pnpm install --frozen-lockfile++ - name: Remove Unused Dependencies+ run: pnpm knip --fix++ - name: Lint and Format+ run: pnpm check++ - name: Autofix+ uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.ymlindex 41d8c8f18..e6db23086 100644--- a/.github/workflows/e2e.yml+++ b/.github/workflows/e2e.yml@@ -147,49 +147,6 @@ jobs:if-no-files-found: ignoreretention-days: 7- autofix:- timeout-minutes: 20- name: autofix.ci- if: ${{ !inputs.live_smoke }}- runs-on: ${{ vars.USE_BLACKSMITH == 'true' && 'blacksmith-32vcpu-ubuntu-2404' || 'ubuntu-latest' }}-- steps:- - name: Checkout Repository- if: ${{ vars.USE_BLACKSMITH != 'true' }}- uses: actions/checkout@v7-- - name: Checkout Repository (Blacksmith)- if: ${{ vars.USE_BLACKSMITH == 'true' }}- uses: useblacksmith/checkout@v1-- - name: Check for merge conflict markers- run: |- if git grep -nEI '<{7} |>{7} |^={7}$' -- ':(exclude)*.md' ':(exclude)*.mdx'; then- echo "::error::Merge conflict markers found in tracked files"- exit 1- fi-- - name: Install pnpm- uses: pnpm/action-setup@v6-- - name: Setup Node- uses: actions/setup-node@v7- with:- node-version-file: ".nvmrc"- cache: "pnpm"-- - name: Install Dependencies- run: pnpm install --frozen-lockfile-- - name: Remove Unused Dependencies- run: pnpm knip --fix-- - name: Lint and Format- run: pnpm check-- - name: Autofix- uses: autofix-ci/action@c5b2d67aa2274e7b5a18224e8171550871fc7e4a # v1.3.4-worker:name: Cloudflare compatibilityif: ${{ !inputs.live_smoke }}diff --git a/AGENTS.md b/AGENTS.mdindex 575582956..f16108cab 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -229,7 +229,7 @@ docker compose up -d --build- Production Compose loads `.env.example` then `.env`, not `.env.local`. Configure `.env` with container hostnames (`postgres`, `redis`, `seaweedfs`) and production secrets before running it. The Docker image runs as `node`, listens on `3000`, and persists local storage through `/app/data`. Health endpoint: `/api/health`.- `vercel.json` defines Vercel Services (project framework must be `Services`): `frontend` (`apps/web`, static `dist`) and `backend` (`apps/server`, entrypoint `apps/server/vercel.mjs` re-exporting the tsdown build). The backend build runs `pnpm build` for both apps, then `node apps/server/dist/prepare-deployment.mjs`. Top-level rewrites send paths whose last segment has a file extension to `frontend` and everything else, including HTML shells, to `backend`, except the server-owned paths listed first. The Function uses Node 24 and a 300-second budget. `outputDirectory: "."` on `backend` stops the builder from treating `dist/index.mjs` (the Docker entrypoint) as the handler.- Vercel environment normalization accepts `POSTGRES_URL`, direct/unpooled DB aliases, and `KV_URL`. `APP_URL` can be derived from Vercel host variables. Blob is the default when no S3 credentials are set. Preview deployments require isolated resources before enabling `ALLOW_PREVIEW_MIGRATIONS=true`; see `docs/self-hosting/vercel.mdx`.-- `.github/workflows/e2e.yml` is the CI workflow: unit/browser tests, Vercel and Cloudflare compatibility, and write-capable autofix (`pnpm knip --fix` and `pnpm check`) run as separate jobs on PRs and pushes to `main`. Manual runs default to CI; `live_smoke=true` runs only the dedicated deployment smoke test. `label-issues.yml` combines issue-form labeling with scheduled needs-info cleanup. GitHub runners are the default; `USE_BLACKSMITH=true` switches runners and paired actions.+- `.github/workflows/e2e.yml` is the CI workflow: unit/browser tests and Vercel and Cloudflare compatibility run as separate jobs on PRs and pushes to `main`. `autofix.yml` runs write-capable autofix (`pnpm knip --fix` and `pnpm check`) separately because autofix.ci requires its own workflow name. Manual runs default to CI; `live_smoke=true` runs only the dedicated deployment smoke test. `label-issues.yml` combines issue-form labeling with scheduled needs-info cleanup. GitHub runners are the default; `USE_BLACKSMITH=true` switches runners and paired actions.- `docker-build.yml` publishes native AMD64/ARM64 images. `main` publishes nightly aliases; release tags/explicit release dispatch publish stable aliases and can trigger configured production integrations. See `.agents/docs/container-publishing.md` before release work.- Deployment smoke tests create/delete accounts and files; run only against a dedicated test installation. Details: `docs/contributing/deployment-checks.mdx`.diff --git a/docs/contributing/development.mdx b/docs/contributing/development.mdxindex d9df787bc..f5a3cbc53 100644--- a/docs/contributing/development.mdx+++ b/docs/contributing/development.mdx@@ -258,16 +258,17 @@ Before you open a pull request:3. Run `pnpm build` if you changed runtime or bundling behavior.4. Keep the pull request focused. Describe the problem, the new behavior, and the checks you ran, and link the related [GitHub issue](https://github.com/reactive-resume/reactive-resume/issues).-Pull requests run the **CI** workflow (`.github/workflows/e2e.yml`) with four independent jobs:+Pull requests run the **CI** workflow (`.github/workflows/e2e.yml`) with three independent jobs:| Job | What it checks || ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- || Unit and browser tests | Unit tests for every workspace (`turbo run test:ci --concurrency=1`), affected-package typechecks, package boundaries, a production build, and Playwright || Vercel artifact | Builds the Vercel artifact offline and checks the backend Function. See [Deployment checks](/contributing/deployment-checks). || Cloudflare compatibility | Checks the Cloudflare build and runs tests against the local Workers runtime without cloud credentials |-| autofix.ci | Runs `pnpm knip --fix` and `pnpm check`, then pushes any fixes to your branch |-New commits to a pull request cancel its superseded CI run. Docker publishing and mobile release workflows run separately.+The separate **autofix.ci** workflow (`autofix.yml`) runs `pnpm knip --fix` and `pnpm check`, then pushes any fixes to your branch. The autofix.ci service requires its own workflow name.++New commits to a pull request cancel its superseded CI and autofix runs. Docker publishing and mobile release workflows run separately.Keep credentials and personal resume data out of code, logs, test fixtures, issues, and pull requests.