aiidateam / aiida-code-registry

Registry of simulation codes and computers for easy setup in AiiDA.
2 stars 11 forks source link

pre-commit failed in deploy stage by cache exist issue #68

Open unkcpz opened 2 years ago

unkcpz commented 2 years ago

This happened many times randomly which can all be workaround by triggering the pre-commit action manually.

/opt/hostedtoolcache/Python/3.8.14/x64/bin/pre-commit run --show-diff-on-failure --color=always --all-files
[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/adrienverge/yamllint.git.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/adrienverge/yamllint.git.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Trim Trailing Whitespace.................................................Passed
Check Yaml...............................................................Passed
yamllint.................................................................Passed
Error: reserveCache failed: Cache already exists. Scope: refs/heads/master, Key: pre-commit-2-62624b5f817e5ad50836c9485ef39ad2400892a1792ea364154de932ecbfdacd-06aa6aa4168aa02577b824514528c2d6f2735558481578aa90a8261809cea0a9, Version: 28cdb9f5496f334116f23e86f0063f5d3a9348c2e22425a33171e071aadada7e