[pre-commit.ci] pre-commit autoupdate #32
coqbot-app / GitLab CI job pre-commit (pull request)
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-4.saas-linux-small-amd64.runners-manager.gitlab.com/default J2nyww-s, system ID: s_cf1798852952
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-j2nyww-s-project-23134874-concurrent-0 via runner-j2nyww-s-s-l-s-amd64-1728344199-90ed6646...
Getting source from Git repository
Fetching changes with git depth set to 50...
Initialized empty Git repository in /builds/saltstack-formulas/sysctl-formula/.git/
Created fresh repository.
Checking out e40a366d as detached HEAD (ref is pr-32)...
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/sysctl-formula/.cache/pre-commit/pre-commit.log
Cleaning up project directory and file based variables
ERROR: Job failed: exit code 1
Loading