Skip to content

ci: run steps in the Nix devshell without the nix-develop action - #290

Merged
sreya merged 1 commit into
mainfrom
ci-nix-develop-shell
Nov 17, 2026
Merged

sreya merged 1 commit into
mainfrom
ci-nix-develop-shell

Conversation

@sreya

@sreya sreya commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

The organization now only allows listed actions (coder/github-org-terraform#80), and nicknovitski/nix-develop is not on the list, so every CI job fails at "Setup Nix", on main too.

This drops that action. nix-devshell now only installs Nix and builds the ci devshell, and each step that ran in the devshell runs with shell: nix develop .#ci --command bash --noprofile --norc -eo pipefail {0}.

The steps changed in release.yml do not run on pull requests.

The organization now only allows listed actions, and
nicknovitski/nix-develop is not on the list, so every job fails at
"Setup Nix".

The nix-devshell action now only installs Nix and builds the ci
devshell. Each step that ran in the devshell gets a shell that runs it
with "nix develop .#ci --command", with the bash options GitHub Actions
uses by default.

@ethanndickson ethanndickson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm getting rid of nix with #284 (don't really want to merge the stack right now) but in the meantime this is fine. looks like the CI failure is a one off flake

@sreya
sreya marked this pull request as ready for review November 17, 2026 01:42
@sreya
sreya merged commit f2f99e2 into main Nov 17, 2026
8 of 9 checks passed
@sreya
sreya deleted the ci-nix-develop-shell branch November 17, 2026 01:43
sreya added a commit that referenced this pull request Nov 17, 2026
Brings in #290, which dropped the nix-develop action. release.yml keeps
this branch's version; the run steps in its two jobs that set up Nix get
the devshell shell that #290 introduced.
@linear-code

linear-code Bot commented Nov 19, 2026

Copy link
Copy Markdown

SEC-1539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants