diff --git a/.github/workflows/review.yml b/.github/workflows/review.yml index 72e58ddc3..2b7bf65f9 100644 --- a/.github/workflows/review.yml +++ b/.github/workflows/review.yml @@ -12,6 +12,8 @@ jobs: - name: Select Xcode version run: sudo xcode-select -s '/Applications/Xcode_15.0.app' - name: bundle install + env: + DANGER_GITHUB_API_TOKEN: ${{ secrets.DANGER_GITHUB_API_TOKEN }} run: | bundle install bundle exec fastlane review diff --git a/Dangerfile b/Dangerfile new file mode 100644 index 000000000..e78afff59 --- /dev/null +++ b/Dangerfile @@ -0,0 +1,3 @@ +github.dismiss_out_of_range_messages + +privacymanifest.report diff --git a/Gemfile b/Gemfile index 8155e6cc1..3238faab0 100644 --- a/Gemfile +++ b/Gemfile @@ -4,3 +4,5 @@ gem 'cocoapods' gem 'fastlane' gem 'synx' gem 'jazzy' +gem 'danger' +gem 'danger-privacymanifest', git: 'https://github.com/shogo4405/danger-privacymanifest' diff --git a/Gemfile.lock b/Gemfile.lock index 2d8cf3d38..c377b4074 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,10 @@ +GIT + remote: https://github.com/shogo4405/danger-privacymanifest + revision: 839ac4283ce556266be64ad54c4cce3214a076b4 + specs: + danger-privacymanifest (0.0.1) + danger-plugin-api (~> 1.0) + GEM remote: https://rubygems.org/ specs: @@ -5,7 +12,7 @@ GEM base64 nkf rexml - activesupport (7.1.3) + activesupport (7.1.3.2) base64 bigdecimal concurrent-ruby (~> 1.0, >= 1.0.2) @@ -23,12 +30,11 @@ GEM artifactory (3.0.15) atomos (0.1.3) aws-eventstream (1.3.0) - aws-partitions (1.893.0) - aws-sdk-core (3.191.2) + aws-partitions (1.894.0) + aws-sdk-core (3.191.3) aws-eventstream (~> 1, >= 1.3.0) aws-partitions (~> 1, >= 1.651.0) aws-sigv4 (~> 1.8) - base64 jmespath (~> 1, >= 1.6.1) aws-sdk-kms (1.77.0) aws-sdk-core (~> 3, >= 3.191.0) @@ -43,6 +49,10 @@ GEM base64 (0.2.0) bigdecimal (3.1.6) claide (1.1.0) + claide-plugins (0.9.2) + cork + nap + open4 (~> 1.3) clamp (0.6.5) cocoapods (1.15.2) addressable (~> 2.8) @@ -88,6 +98,23 @@ GEM highline (~> 2.0.0) concurrent-ruby (1.2.3) connection_pool (2.4.1) + cork (0.3.0) + colored2 (~> 3.1) + danger (9.4.3) + 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) + no_proxy_fix + octokit (>= 4.0) + terminal-table (>= 1, < 4) + danger-plugin-api (1.0.0) + danger (> 2.0) declarative (0.0.20) digest-crc (0.6.5) rake (>= 12.0.0, < 14.0.0) @@ -118,6 +145,8 @@ GEM faraday-em_http (1.0.0) faraday-em_synchrony (1.0.0) faraday-excon (1.1.0) + faraday-http-cache (2.5.1) + faraday (>= 0.8) faraday-httpclient (1.0.1) faraday-multipart (1.0.4) multipart-post (~> 2) @@ -174,6 +203,9 @@ GEM fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) + git (1.19.1) + addressable (~> 2.8) + rchardet (~> 1.8) google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) google-apis-core (0.11.3) @@ -230,10 +262,13 @@ GEM json (2.7.1) jwt (2.8.0) base64 + kramdown (2.4.0) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) liferaft (0.0.6) mini_magick (4.12.0) mini_mime (1.1.5) - mini_portile2 (2.8.5) minitest (5.22.2) molinillo (0.8.0) multi_json (1.15.0) @@ -245,12 +280,18 @@ GEM naturally (2.2.1) netrc (0.11.0) nkf (0.2.0) + no_proxy_fix (0.1.2) + octokit (8.1.0) + base64 + faraday (>= 1, < 3) + sawyer (~> 0.9) open4 (1.3.4) optparse (0.4.0) os (1.1.4) plist (3.7.1) public_suffix (4.0.7) rake (13.1.0) + rchardet (1.8.0) redcarpet (3.6.0) representable (3.2.0) declarative (< 0.1.0) @@ -264,6 +305,9 @@ GEM rubyzip (2.3.2) sassc (2.4.0) ffi (~> 1.9) + sawyer (0.9.2) + addressable (>= 2.3.5) + faraday (>= 0.17.3, < 3) security (0.1.3) signet (0.19.0) addressable (~> 2.8) @@ -273,8 +317,7 @@ GEM simctl (1.6.10) CFPropertyList naturally - sqlite3 (1.7.2) - mini_portile2 (~> 2.8.0) + sqlite3 (1.7.2-arm64-darwin) synx (0.2.1) clamp (~> 0.6) colorize (~> 0.7) @@ -309,10 +352,12 @@ GEM xcpretty (~> 0.2, >= 0.0.7) PLATFORMS - ruby + arm64-darwin-23 DEPENDENCIES cocoapods + danger + danger-privacymanifest! fastlane jazzy synx diff --git a/fastlane/Fastfile b/fastlane/Fastfile index 8726a0067..9c662fc68 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -20,6 +20,11 @@ lane :review do use_xcframeworks: true, platform: 'iOS' ) if Helper.is_ci? + danger( + danger_id: 'danger', + dangerfile: 'Dangerfile', + verbose: true + ) scan(scheme: 'Tests') end