[pre-commit.ci] pre-commit autoupdate #42
coqbot-app / GitLab CI job pre-commit (branch)
failed
Oct 7, 2024 in 0s
Test has failed on GitLab CI
This job has failed. If you need to, you can restart it directly in the GitHub interface using the "Re-run" button.
We show below the last 40 lines of the trace from GitLab (the complete trace is available here).
Details
Running with gitlab-runner 17.4.0~pre.110.g27400594 (27400594)
on blue-1.saas-linux-small.runners-manager.gitlab.com/default j1aLDqxS, system ID: s_ccdc2f364be8
Resolving secrets
Preparing the "docker+machine" executor
Using Docker executor with image myii/ssf-pre-commit:2.9.2 ...
Pulling docker image myii/ssf-pre-commit:2.9.2 ...
Using docker image sha256:48db390ebf5e445afd12d363ea5d9f507ba4c921d150bac7dff355506656d8a3 for myii/ssf-pre-commit:2.9.2 with digest myii/ssf-pre-commit@sha256:6cb5908d26091757ff2a2028b82b0371dced85d78d7c120b324951298dc5ae10 ...
Preparing environment
Running on runner-j1aldqxs-project-23134771-concurrent-0 via runner-j1aldqxs-s-l-s-amd64-1728344206-8beea1ca...
Getting source from Git repository
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/saltstack-formulas/nfs-formula/.git/
Created fresh repository.
Checking out d951607d as detached HEAD (ref is pre-commit-ci-update-config)...
Skipping Git submodules setup
$ git remote set-url origin "${CI_REPOSITORY_URL}"
Restoring cache
Checking cache for pre-commit-non_protected...
WARNING: file does not exist
Failed to extract cache
Executing "step_script" stage of the job script
Using docker image sha256:48db390ebf5e445afd12d363ea5d9f507ba4c921d150bac7dff355506656d8a3 for myii/ssf-pre-commit:2.9.2 with digest myii/ssf-pre-commit@sha256:6cb5908d26091757ff2a2028b82b0371dced85d78d7c120b324951298dc5ae10 ...
$ pre-commit run --all-files --color always --verbose
An error has occurred: InvalidConfigError:
==> File .pre-commit-config.yaml
==> At Config()
==> At key: default_stages
==> At index 0
=====> Expected one of commit, commit-msg, manual, merge-commit, post-checkout, post-commit, prepare-commit-msg, push but got: 'Nonepre-commitNone'
Check the log at /builds/saltstack-formulas/nfs-formula/.cache/pre-commit/pre-commit.log
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
Loading