zerocracy / judges-action

A GitHub Action that scans the entire repository and generates a Factbase for Zerocracy
https://zerocracy.github.io/judges-action/zerocracy.html
MIT License
12 stars 5 forks source link

TypeError: no implicit conversion of Symbol into Integer #397

Open yegor256 opened 1 week ago

yegor256 commented 1 week ago

I found it here:

TypeError: no implicit conversion of Symbol into Integer
    /action/judges/github-events/github-events.rb:68:in `block in fetch_contributors'
    /usr/local/bundle/gems/sawyer-0.9.2/lib/sawyer/resource.rb:128:in `each'
    /usr/local/bundle/gems/sawyer-0.9.2/lib/sawyer/resource.rb:128:in `each'
    /action/judges/github-events/github-events.rb:67:in `fetch_contributors'
    /action/judges/github-events/github-events.rb:278:in `fill_up_event'
    /action/judges/github-events/github-events.rb:332:in `block (4 levels) in <top (required)>'
    /usr/local/bundle/gems/factbase-0.4.0/lib/factbase/looged.rb:65:in `block in txn'
    /usr/local/bundle/gems/factbase-0.4.0/lib/factbase/rules.rb:73:in `block in txn'
    /usr/local/bundle/gems/factbase-0.4.0/lib/factbase.rb:168:in `txn'
    /usr/local/bundle/gems/factbase-0.4.0/lib/factbase/rules.rb:72:in `txn'
    /usr/local/bundle/gems/factbase-0.4.0/lib/factbase/pre.rb:62:in `txn'
    /usr/local/bundle/gems/factbase-0.4.0/lib/factbase/looged.rb:63:in `txn'
    /action/judges/github-events/github-events.rb:323:in `block (3 levels) in <top (required)>'
    /action/judges/github-events/github-events.rb:311:in `each'
    /action/judges/github-events/github-events.rb:311:in `each_with_index'
    /action/judges/github-events/github-events.rb:311:in `block (2 levels) in <top (required)>'
    /usr/local/bundle/gems/fbe-0.0.76/lib/fbe/iterate.rb:109:in `block (2 levels) in over'
    /usr/local/bundle/gems/fbe-0.0.76/lib/fbe/iterate.rb:88:in `each'
    /usr/local/bundle/gems/fbe-0.0.76/lib/fbe/iterate.rb:88:in `block in over']()
Yegorov commented 21 hours ago

@yegor256 may I take this one?