Skip to content

Lefthook pre-push hook is too slow #2248

@justin808

Description

@justin808

Here's an example for PR #2247

2 files changed and:

  • summary: (done in 33.17 seconds)
  • ✔️ branch-lint (1.71 seconds)
 gpf                            1 ↵
╭─────────────────────────────────────╮
│ 🥊 lefthook v2.0.12  hook: pre-push │
╰─────────────────────────────────────╯
┃  branch-lint ❯

🔍 RuboCop on branch Ruby files:
  react_on_rails/rakelib/example_type.rb
  react_on_rails/rakelib/run_rspec.rake
Inspecting 2 files
..

2 files inspected, no offenses detected
✅ RuboCop checks passed for Ruby files


  ────────────────────────────────────
summary: (done in 33.17 seconds)
✔️ branch-lint (1.71 seconds)
Enumerating objects: 27, done.
Counting objects: 100% (27/27), done.
Delta compression using up to 10 threads
Compressing objects: 100% (17/17), done.
Writing objects: 100% (17/17), 1.37 KiB | 1.37 MiB/s, done.
Total 17 (delta 14), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Resolving deltas: 100% (14/14), completed with 10 local objects.
remote:
remote: GitHub found 58 vulnerabilities on shakacode/react_on_rails's default branch (6 critical, 8 high, 40 moderate, 4 low). To find out more, visit:
remote:      https://github.com/shakacode/react_on_rails/security/dependabot
remote:
To github.com:shakacode/react_on_rails.git
 + fa1a2dbf...de169869 justin808-shakapacker-version -> justin808-shakapacker-version (forced update)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions