Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/auth-contract-compose-pw.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,22 +47,22 @@ jobs:
timeout-minutes: 12
steps:
- name: Checkout api
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: api

# The Dockerfile multi-stage build does `COPY proto/`, `COPY common/`,
# `COPY api/` — so the build context needs all three as siblings.
# Identical pattern to ci.yml / deploy.yml.
- name: Checkout proto sibling (for go.mod replace ../proto)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
path: proto

- name: Checkout common sibling (for go.mod replace ../common)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
runs-on: ubuntu-latest
if: github.event_name == 'pull_request'
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
fetch-depth: 0
- name: Fail if PR branch is behind its base branch
Expand Down Expand Up @@ -100,10 +100,10 @@ jobs:
# exactly as deploy.yml's proven-green gate does.
TEST_POSTGRES_CUSTOMERS_URL: postgres://postgres:postgres@localhost:5432/instant_customers?sslmode=disable
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Checkout proto sibling (for go.mod replace ../proto)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand All @@ -113,7 +113,7 @@ jobs:
run: mv _proto_ci ../proto

- name: Checkout common sibling (for go.mod replace ../common)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -208,10 +208,10 @@ jobs:
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Checkout proto sibling
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand All @@ -220,7 +220,7 @@ jobs:
- run: mv _proto_ci ../proto

- name: Checkout common sibling
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ jobs:
timeout-minutes: 30
steps:
- name: Checkout this repo
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: api
- name: Checkout sibling InstaNode-dev/common
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: InstaNode-dev/common
path: common
- name: Checkout sibling InstaNode-dev/proto
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: InstaNode-dev/proto
path: proto
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,22 +93,22 @@ jobs:
# nosql package contributes to coverage too.
TEST_MONGO_URI: mongodb://localhost:27017
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
path: api
# Full history so diff-cover can resolve origin/<base_ref> for the
# patch-coverage gate below (shallow clones lack the base commit).
fetch-depth: 0

- name: Checkout proto sibling (for go.mod replace ../proto)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
path: proto

- name: Checkout common sibling (for go.mod replace ../common)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,12 @@ jobs:
--health-retries 12
steps:
- name: Checkout api (this repo) into ./api
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: api

- name: Checkout common sibling into ./common
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }}
# 2026-05-15: GITHUB_TOKEN is scoped to THIS repo only and 404s
Expand All @@ -114,7 +114,7 @@ jobs:
path: common

- name: Checkout proto sibling into ./proto
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
path: api
# Sibling checkouts (proto/common) for repos with replace directives.
# No-op for repos that do not need them.
- uses: actions/checkout@v6
- uses: actions/checkout@v7
if: ${{ hashFiles('api/go.mod') != '' }}
with:
repository: InstaNode-dev/common
path: common
continue-on-error: true
- uses: actions/checkout@v6
- uses: actions/checkout@v7
with:
repository: InstaNode-dev/proto
path: proto
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/govulncheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ jobs:
timeout-minutes: 15
steps:
- name: Checkout this repo
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: api
- name: Checkout sibling InstaNode-dev/common
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: InstaNode-dev/common
path: common
- name: Checkout sibling InstaNode-dev/proto
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: InstaNode-dev/proto
path: proto
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration-backup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ jobs:
if: ${{ vars.INTEGRATION_BACKUP_ENABLED == 'true' }}
steps:
- name: Check out api
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: api
- name: Check out infra (sibling repo with restore-drill.sh)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ github.repository_owner }}/infra
path: infra
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lychee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: lycheeverse/lychee-action@v2
with:
args: --no-progress --max-concurrency 4 --exclude-mail './**/*.md' './**/*.html'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/openapi-breaking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout PR head
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
fetch-depth: 0

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/openapi-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ jobs:
snapshot-drift:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7

- name: Checkout proto sibling (for go.mod replace ../proto)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand All @@ -60,7 +60,7 @@ jobs:
run: mv _proto_ci ../proto

- name: Checkout common sibling (for go.mod replace ../common)
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/preview-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,22 @@ jobs:

- name: Checkout api (this repo) into ./api
if: steps.prereq.outputs.skip == 'false'
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
path: api
ref: ${{ github.event.pull_request.head.sha }}

- name: Checkout common sibling into ./common
if: steps.prereq.outputs.skip == 'false'
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.COMMON_REPO || format('{0}/common', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
path: common

- name: Checkout proto sibling into ./proto
if: steps.prereq.outputs.skip == 'false'
uses: actions/checkout@v6
uses: actions/checkout@v7
with:
repository: ${{ vars.PROTO_REPO || format('{0}/proto', github.repository_owner) }}
token: ${{ secrets.REPO_ACCESS_TOKEN || secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 3
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v7
- uses: crate-ci/typos@v1.47.2
continue-on-error: true # warn-only — surface findings without blocking CI
Loading