Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extends from remote config are merged via local path #528

Closed
mrexox opened this issue Jul 24, 2023 · 0 comments · Fixed by #529
Closed

Extends from remote config are merged via local path #528

mrexox opened this issue Jul 24, 2023 · 0 comments · Fixed by #529
Labels
bug Something isn't working

Comments

@mrexox
Copy link
Member

mrexox commented Jul 24, 2023

I'm using v1.4.6 and am getting the same problem.. here's my setup: https://github.com/carhartl/lefthook-config

Using for instance

# lefthook.yml
remote:
  git_url: https://github.com/carhartl/lefthook-config
  config: go.yml
# go.yml in remote config
extends:
  - base.yml
pre-commit:
  parallel: true
  commands:
    golangci-lint:
      tags: lint go
      glob: "*.go"
      run: for file in {staged_files}; do golangci-lint run $file; done
pre-push:
  parallel: true
  gotest:
    tags: test go
    glob: "*.go"
    run: gotest ./...

I'm getting "Error: open /Users/klaus/Workspace/sandbox/base.yml: no such file or directory". I must be overlooking something?

Originally posted by @carhartl in #420 (comment)

@mrexox mrexox added the bug Something isn't working label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant