Skip to content

Commit

Permalink
remove git hooks from auto install (breaking ci)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedsoupe committed Dec 3, 2024
1 parent 4d09ef5 commit 7987b75
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ config :phoenix, :plug_init_mode, :runtime

config :git_hooks,
verbose: false,
auto_install: true,
auto_install: false,
branches: [
whitelist: ["main"]
],
Expand Down
6 changes: 3 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ defmodule Pescarte.MixProject do
{:sentry, "~> 10.2.0"},
{:earmark, "~> 1.4"},
{:faker, "~> 0.18", only: :test},
{:dialyxir, "~> 1.3", only: [:dev], runtime: false},
{:dialyxir, "~> 1.3", only: :dev, runtime: false},
{:credo, "~> 1.5", only: [:dev, :test], runtime: false},
# {:ex_doc, "> 0.0.0", only: [:dev, :test], runtime: false},
{:git_hooks, "~> 0.8.0-pre0", only: [:dev], runtime: false}
{:git_hooks, "~> 0.8.0-pre0", only: :dev, runtime: false}
]
end

defp aliases do
[
dev: ["cmd --cd assets npm ci", "assets.build", "setup", "phx.server"],
setup: ["deps.get", "ecto.setup", "seed"],
setup: ["git_hooks.install --quiet", "deps.get", "ecto.setup", "seed"],
"ecto.setup": ["ecto.create", "ecto.migrate", "seed"],
"ecto.reset": ["ecto.drop", "ecto.setup", "seed"],
test: ["ecto.create --quiet", "ecto.migrate --quiet", "test"],
Expand Down

0 comments on commit 7987b75

Please sign in to comment.