From: Andy Allan Date: Wed, 16 Oct 2024 13:29:59 +0000 (+0100) Subject: Merge pull request #4988 from nenad-vujicic/issue_4912_pr_labeling X-Git-Tag: live~74 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/b0ffe17cec6fdd9bb27c1e8a3deb37f46d2d37bf?hp=-c Merge pull request #4988 from nenad-vujicic/issue_4912_pr_labeling Added workflow for PR labeling using Danger --- b0ffe17cec6fdd9bb27c1e8a3deb37f46d2d37bf diff --combined Gemfile index 8d010bea7,6d578ef52..a2387771a --- a/Gemfile +++ b/Gemfile @@@ -141,13 -141,12 +141,15 @@@ gem "image_processing # Used to validate widths gem "unicode-display_width" +# Lock some modules to old versions for ruby 3.1 support +gem "zeitwerk", "< 2.7" + # Gems useful for development group :development do gem "better_errors" gem "binding_of_caller" + gem "danger" + gem "danger-auto_label" gem "debug_inspector" gem "i18n-tasks" gem "listen" diff --combined Gemfile.lock index defe1e3a4,ff949af3e..ffbb95eb9 --- a/Gemfile.lock +++ b/Gemfile.lock @@@ -91,7 -91,7 +91,7 @@@ GE autoprefixer-rails (10.4.19.0) execjs (~> 2) aws-eventstream (1.3.0) - aws-partitions (1.981.0) + aws-partitions (1.990.0) aws-sdk-core (3.209.1) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) @@@ -100,7 -100,7 +100,7 @@@ aws-sdk-kms (1.94.0) aws-sdk-core (~> 3, >= 3.207.0) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.166.0) + aws-sdk-s3 (1.167.0) aws-sdk-core (~> 3, >= 3.207.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) @@@ -150,16 -150,40 +150,40 @@@ xpath (~> 3.2) childprocess (5.1.0) logger (~> 1.5) + claide (1.1.0) + claide-plugins (0.9.2) + cork + nap + open4 (~> 1.3) + colored2 (3.1.2) concurrent-ruby (1.3.4) config (5.5.2) deep_merge (~> 1.2, >= 1.2.1) ostruct connection_pool (2.4.1) + cork (0.3.0) + colored2 (~> 3.1) crack (1.0.0) bigdecimal rexml crass (1.0.6) dalli (3.2.8) + danger (9.5.0) + claide (~> 1.0) + claide-plugins (>= 0.9.2) + colored2 (~> 3.1) + cork (~> 0.1) + faraday (>= 0.9.0, < 3.0) + faraday-http-cache (~> 2.0) + git (~> 1.13) + kramdown (~> 2.3) + kramdown-parser-gfm (~> 1.0) + octokit (>= 4.0) + terminal-table (>= 1, < 4) + danger-auto_label (1.3.1) + danger-plugin-api (~> 1.0) + danger-plugin-api (1.0.0) + danger (> 2.0) dartsass-ruby (3.0.2) sass-embedded (~> 1.54, < 1.67) dartsass-sprockets (3.0.0) @@@ -240,6 -264,8 +264,8 @@@ faraday-net_http (>= 2.0, < 3.4) json logger + faraday-http-cache (2.5.1) + faraday (>= 0.8) faraday-net_http (3.3.0) net-http ffi (1.17.0) @@@ -254,6 -280,9 +280,9 @@@ fspath (3.1.2) gd2-ffij (0.4.0) ffi (>= 1.0.0) + git (1.19.1) + addressable (~> 2.8) + rchardet (~> 1.8) globalid (1.2.1) activesupport (>= 6.1) google-protobuf (3.25.5) @@@ -306,11 -335,13 +335,13 @@@ railties (>= 4.2.0) thor (>= 0.14, < 2.0) json (2.7.2) - jwt (2.9.1) + jwt (2.9.3) base64 kgio (2.11.4) kramdown (2.4.0) rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) language_server-protocol (3.17.0.3) libv8-node (18.19.0.0) libxml-ruby (5.0.3) @@@ -340,13 -371,14 +371,14 @@@ minitest (5.25.1) minitest-focus (1.4.0) minitest (>= 4, < 6) - msgpack (1.7.2) + msgpack (1.7.3) multi_json (1.15.0) multi_xml (0.7.1) bigdecimal (~> 3.1) + nap (1.1.0) net-http (0.4.1) uri - net-imap (0.4.16) + net-imap (0.4.17) date net-protocol net-pop (0.1.2) @@@ -372,6 -404,9 +404,9 @@@ rack (>= 1.2, < 4) snaky_hash (~> 2.0) version_gem (~> 1.1) + octokit (9.1.0) + faraday (>= 1, < 3) + sawyer (~> 0.9) omniauth (2.0.4) hashie (>= 3.4.6) rack (>= 1.6.2, < 3) @@@ -407,6 -442,7 +442,7 @@@ omniauth-rails_csrf_protection (1.0.2) actionpack (>= 4.2) omniauth (~> 2.0) + open4 (1.3.4) openstreetmap-deadlock_retry (1.3.1) ostruct (0.6.0) overcommit (0.64.0) @@@ -427,7 -463,7 +463,7 @@@ nio4r (~> 2.0) quad_tile (1.0.1) racc (1.8.1) - rack (2.2.9) + rack (2.2.10) rack-cors (2.0.2) rack (>= 2.0.0) rack-openid (1.4.2) @@@ -488,6 -524,7 +524,7 @@@ rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) + rchardet (1.8.0) rdoc (6.7.0) psych (>= 4.0.0) regexp_parser (2.9.2) @@@ -501,7 -538,7 +538,7 @@@ rouge (4.4.0) rtlcss (0.2.1) mini_racer (>= 0.6.3) - rubocop (1.66.1) + rubocop (1.67.0) json (~> 2.3) language_server-protocol (>= 3.17.0) parallel (~> 1.10) @@@ -542,6 -579,9 +579,9 @@@ sass-embedded (1.64.2) google-protobuf (~> 3.23) rake (>= 13.0.0) + sawyer (0.9.2) + addressable (>= 2.3.5) + faraday (>= 0.17.3, < 3) securerandom (0.3.1) selenium-webdriver (4.23.0) base64 (~> 0.2) @@@ -576,12 -616,12 +616,12 @@@ activerecord (>= 5.2) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) - terser (1.2.3) + terser (1.2.4) execjs (>= 0.3.0, < 3) thor (1.3.2) tilt (2.4.0) timeout (0.4.1) - turbo-rails (2.0.10) + turbo-rails (2.0.11) actionpack (>= 6.0.0) railties (>= 6.0.0) tzinfo (2.0.6) @@@ -634,6 -674,8 +674,8 @@@ DEPENDENCIE config connection_pool dalli + danger + danger-auto_label dartsass-sprockets debug debug_inspector @@@ -712,7 -754,6 +754,7 @@@ validates_email_format_of (>= 1.5.1) vendorer webmock + zeitwerk (< 2.7) BUNDLED WITH - 2.5.11 + 2.5.16