Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cloudflare-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ jobs:
ref: ${{ github.event.workflow_run.head_sha || github.ref }}

- name: Setup pnpm + Node (+ install)
uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: ${{ inputs.package-json-file }}
node-version: ${{ inputs.node-version }}
Expand All @@ -213,7 +213,7 @@ jobs:
run: bash --noprofile --norc -euo pipefail -c "$TRUSTED_COMMAND"

- name: Deploy to Cloudflare Pages
uses: hseshadr/ci/.github/actions/pages-deploy-dist@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/pages-deploy-dist@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
project-name: ${{ inputs.project-name }}
dist-dir: ${{ inputs.dist-dir }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/frontend-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
persist-credentials: false

- name: Setup pnpm + Node (+ install)
uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: ${{ inputs.package-json-file }}
node-version: ${{ inputs.node-version }}
Expand All @@ -99,7 +99,7 @@ jobs:

- name: Setup Playwright (cached)
if: ${{ inputs.install-playwright }}
uses: hseshadr/ci/.github/actions/setup-playwright@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-playwright@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
browsers: ${{ inputs.playwright-browsers }}
working-directory: ${{ inputs.playwright-working-directory || inputs.working-directory }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
persist-credentials: false

- name: Setup Python + uv (+ sync)
uses: hseshadr/ci/.github/actions/setup-python-uv@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-python-uv@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
python-version: ${{ inputs.python-version }}
sync-args: ${{ inputs.sync-args }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
persist-credentials: false

- name: Setup Python + uv (+ sync)
uses: hseshadr/ci/.github/actions/setup-python-uv@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-python-uv@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
python-version: ${{ inputs.python-version }}
sync-args: ${{ inputs.sync-args }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ jobs:

# run-sync: false — we `uv export` the lock, not build a venv.
- name: Setup Python + uv
uses: hseshadr/ci/.github/actions/setup-python-uv@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-python-uv@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
working-directory: ${{ inputs.python-working-directory }}
run-sync: "false"
Expand Down Expand Up @@ -163,7 +163,7 @@ jobs:
# install: false — `pnpm audit` reads the lockfile + queries the advisory DB
# directly; no node_modules needed.
- name: Setup pnpm + Node
uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: ${{ inputs.frontend-working-directory }}/package.json
node-version: ${{ inputs.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ts-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
registry-url: ${{ inputs.registry-url }}

- name: Setup pnpm + Node (+ install)
uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: ${{ inputs.package-json-file }}
node-version: ${{ inputs.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion examples/almamesh/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ permissions:
contents: read
jobs:
audit:
uses: hseshadr/ci/.github/workflows/security-audit.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/security-audit.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
run-python-audit: true
python-working-directory: backend
Expand Down
8 changes: 4 additions & 4 deletions examples/aml-filter/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
permissions:
contents: read
pull-requests: read
uses: hseshadr/ci/.github/workflows/secret-scan.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/secret-scan.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0

frontend:
runs-on: ubuntu-latest
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: frontend/package.json
node-version-file: frontend/.nvmrc
Expand All @@ -51,7 +51,7 @@ jobs:
# Weights come from a GitHub RELEASE, not a package registry, so the fetch
# needs GH_TOKEN. Job-level `env:` is what reaches a composite's steps —
# the composite deliberately takes no secret input.
- uses: hseshadr/ci/.github/actions/restore-model-cache@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/restore-model-cache@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
env:
GH_TOKEN: ${{ github.token }}
with:
Expand All @@ -67,7 +67,7 @@ jobs:
gh release download model-weights-v1 --repo "$GITHUB_REPOSITORY" --dir "$dir/onnx" --clobber \
--pattern model_quantized.onnx
node scripts/download-model.mjs
- uses: hseshadr/ci/.github/actions/setup-playwright@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/setup-playwright@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
working-directory: frontend
cache-key: playwright-${{ runner.os }}-${{ hashFiles('frontend/pnpm-lock.yaml') }}
Expand Down
4 changes: 2 additions & 2 deletions examples/aml-filter/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: frontend/package.json
node-version-file: frontend/.nvmrc
Expand Down Expand Up @@ -105,7 +105,7 @@ jobs:
fi

# --- shared deploy half: identical wrangler step used by every Pages repo ---
- uses: hseshadr/ci/.github/actions/pages-deploy-dist@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/pages-deploy-dist@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
project-name: aml-filter
dist-dir: frontend/app/dist
Expand Down
4 changes: 2 additions & 2 deletions examples/aml-filter/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ permissions:
contents: read
jobs:
audit:
uses: hseshadr/ci/.github/workflows/security-audit.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/security-audit.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
run-pnpm-audit: true
frontend-working-directory: frontend
pnpm-audit-level: low
gitleaks:
uses: hseshadr/ci/.github/workflows/secret-scan.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/secret-scan.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
4 changes: 2 additions & 2 deletions examples/assay/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
persist-credentials: false

- name: Setup Python + uv (+ sync)
uses: hseshadr/ci/.github/actions/setup-python-uv@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-python-uv@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
sync-args: "--frozen --all-extras"

Expand Down Expand Up @@ -121,7 +121,7 @@ jobs:
permissions:
id-token: write # OIDC — npm verifies this against the registered trusted publisher.
contents: read
uses: hseshadr/ci/.github/workflows/ts-publish.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/ts-publish.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
working-directory: ts
# assay has no ROOT package.json/lockfile — the TS package lives wholly in ts/.
Expand Down
4 changes: 2 additions & 2 deletions examples/edge-proc/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ permissions:
pull-requests: read
jobs:
gate:
uses: hseshadr/ci/.github/workflows/python-gate.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/python-gate.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
sync-args: "--frozen --all-extras"
gitleaks:
uses: hseshadr/ci/.github/workflows/secret-scan.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/secret-scan.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
2 changes: 1 addition & 1 deletion examples/edge-proc/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
persist-credentials: false

- name: Setup Python + uv (+ sync)
uses: hseshadr/ci/.github/actions/setup-python-uv@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-python-uv@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
sync-args: "--frozen --all-extras"

Expand Down
2 changes: 1 addition & 1 deletion examples/edge-proc/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ permissions:
contents: read
jobs:
audit:
uses: hseshadr/ci/.github/workflows/security-audit.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/security-audit.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
run-python-audit: true
14 changes: 7 additions & 7 deletions examples/edge-reco/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ permissions:
pull-requests: read
jobs:
gitleaks:
uses: hseshadr/ci/.github/workflows/secret-scan.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/secret-scan.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0

quality:
uses: hseshadr/ci/.github/workflows/python-gate.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/python-gate.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
working-directory: backend
sync-args: "--locked --group dev"
Expand All @@ -31,13 +31,13 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: frontend/package.json
node-version-file: frontend/.nvmrc
cache-dependency-path: frontend/pnpm-lock.yaml
working-directory: frontend
- uses: hseshadr/ci/.github/actions/restore-model-cache@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/restore-model-cache@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
cache-path: frontend/app/public/models
cache-key: model-weights-${{ runner.os }}-${{ hashFiles('frontend/app/scripts/download-model.mjs') }}
Expand All @@ -53,19 +53,19 @@ jobs:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
persist-credentials: false
- uses: hseshadr/ci/.github/actions/setup-pnpm@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/setup-pnpm@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
package-json-file: frontend/package.json
node-version-file: frontend/.nvmrc
cache-dependency-path: frontend/pnpm-lock.yaml
working-directory: frontend
- uses: hseshadr/ci/.github/actions/restore-model-cache@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/restore-model-cache@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
cache-path: frontend/app/public/models
cache-key: model-weights-${{ runner.os }}-${{ hashFiles('frontend/app/scripts/download-model.mjs') }}
fetch-command: node scripts/download-model.mjs
working-directory: frontend/app
- uses: hseshadr/ci/.github/actions/setup-playwright@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
- uses: hseshadr/ci/.github/actions/setup-playwright@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
working-directory: frontend
cache-key: playwright-${{ runner.os }}-${{ hashFiles('frontend/pnpm-lock.yaml') }}
Expand Down
2 changes: 1 addition & 1 deletion examples/edge-reco/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
github.event.workflow_run.conclusion == 'success' &&
github.event.workflow_run.head_branch == 'main' &&
github.event.workflow_run.head_repository.full_name == github.repository) }}
uses: hseshadr/ci/.github/workflows/cloudflare-pages-deploy.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/cloudflare-pages-deploy.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
project-name: edge-reco
dist-dir: frontend/app/dist
Expand Down
2 changes: 1 addition & 1 deletion examples/edge-reco/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read
jobs:
audit:
uses: hseshadr/ci/.github/workflows/security-audit.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/security-audit.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
run-python-audit: true
run-pnpm-audit: true
Expand Down
4 changes: 2 additions & 2 deletions examples/edgeproc-core/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ permissions:
pull-requests: read
jobs:
gate:
uses: hseshadr/ci/.github/workflows/python-gate.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/python-gate.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
upload-coverage: true
# Name the one secret the gate needs. `secrets: inherit` would forward every repo
# secret — including PyPI/npm credentials — into a workflow that only wants Codecov.
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
gitleaks:
uses: hseshadr/ci/.github/workflows/secret-scan.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/secret-scan.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
2 changes: 1 addition & 1 deletion examples/edgeproc-core/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
persist-credentials: false

- name: Setup Python + uv (+ sync)
uses: hseshadr/ci/.github/actions/setup-python-uv@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/actions/setup-python-uv@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
sync-args: "--frozen --all-extras"

Expand Down
2 changes: 1 addition & 1 deletion examples/edgeproc-core/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ permissions:
contents: read
jobs:
audit:
uses: hseshadr/ci/.github/workflows/security-audit.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/security-audit.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
run-python-audit: true
4 changes: 2 additions & 2 deletions examples/privacy-core/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ permissions:
pull-requests: read
jobs:
gate:
uses: hseshadr/ci/.github/workflows/frontend-gate.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/frontend-gate.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
install-args: "--frozen-lockfile --config.dangerously-allow-all-builds=true"
install-playwright: true
gitleaks:
uses: hseshadr/ci/.github/workflows/secret-scan.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/secret-scan.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
2 changes: 1 addition & 1 deletion examples/privacy-core/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
permissions:
id-token: write # OIDC — npm verifies this against the registered trusted publisher.
contents: read
uses: hseshadr/ci/.github/workflows/ts-publish.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/ts-publish.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
working-directory: "."
install-args: "--frozen-lockfile --config.dangerously-allow-all-builds=true"
Expand Down
2 changes: 1 addition & 1 deletion examples/privacy-core/security-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read
jobs:
audit:
uses: hseshadr/ci/.github/workflows/security-audit.yml@2a575cd193e2e1fc093ccd26821020538e2547b7 # ci-v3.0.0
uses: hseshadr/ci/.github/workflows/security-audit.yml@33c5e5fa421210e6cc91ea30cad708bce29a2407 # ci-v3.1.0
with:
run-pnpm-audit: true
frontend-working-directory: "."
Expand Down
Loading