Skip to content

Fix issue #17: Missing path during pre-commit - #18

Open
MattiasKockum wants to merge 1 commit into
cloud-gouv:mainfrom
MattiasKockum:ci/fix-pre-commit
Open

Fix issue #17: Missing path during pre-commit#18
MattiasKockum wants to merge 1 commit into
cloud-gouv:mainfrom
MattiasKockum:ci/fix-pre-commit

Conversation

@MattiasKockum

Copy link
Copy Markdown

Previous workflow generated this command:

nix-shell -A pre-commit --run 'set -o pipefail
  set -o nounset
  set -o errexit
  pre-commit run --all-files --hook-stage pre-commit --show-diff-on-failure'

Tries to call pre-commit of pre-commit : error: attribute 'pre-commit' in selection path 'pre-commit' not found

The fix here skips nix-actions.lib.nix-shell abstraction to build the right command directly.

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.

1 participant