• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

supabase / cli / 40680534176
47%
develop: 46%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/develop/pr-7380-74d4774766936b6e6141a58d061c3396a01c85c9
DEFAULT BRANCH: develop
Ran 28 Oct 2026 11:32AM UTC
Jobs 1
Files 119
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Oct 2026 11:30AM UTC coverage: 46.568%. Remained the same
40680534176

push

github

web-flow
fix(cli): honor `--workdir` in `secrets set` (CLI-2887) (#7361)

## TL;DR

stops `supabase secrets set` uploading secrets from the current
directory when `--workdir` points at another project

## whats improved/fixed?

`supabase secrets set --workdir ../clean` read `supabase/config.toml`
and `supabase/.env` from the directory it ran in, ignoring `--workdir`
and `SUPABASE_WORKDIR`

so local only secrets from that directory got uploaded to the linked
project, and the workdir project's own secrets were skipped

## how?

`secrets set` now loads the config and its `.env` files from an explicit
`--workdir` or `SUPABASE_WORKDIR` as given, never climbing to a parent
project

without one it still finds the nearest project from the current
directory, exactly as before

> [!NOTE]
> with an explicit `--workdir` that has no `supabase/config.toml`,
config secrets are no longer picked up from a parent or the current
directory, matching the config commands and the old CLI
>
> a `--workdir` that does not exist now fails with `failed to change
workdir` before any request, like the config commands
>
> `--env-file` relative paths still resolve against the current
directory

## ref:

- closes: https://github.com/supabase/cli/issues/7354
- broken in: https://github.com/supabase/cli/pull/5357

5591 of 12006 relevant lines covered (46.57%)

25.05 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40680534176.1 28 Oct 2026 11:32AM UTC 119
46.57
GitHub Action Run
Source Files on build 40680534176
  • Tree
  • List 119
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #40680534176
  • 5e7ad296 on github
  • Prev Build on develop (#40674675314)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc