Skip to content

Commit

Permalink
Decrease max number of commits from 500 to 50 (#52)
Browse files Browse the repository at this point in the history
* fix: reduce max number of commits

To avoid overflowing the body capacity, we reduce the max number of commits

* Delete unused comment

Co-authored-by: Denis Garcia <[email protected]>
  • Loading branch information
rymndhng and DenisGarciaFr authored Aug 10, 2021
1 parent 37495bf commit ebcb13a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/release_on_push_action/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,9 @@
(contains? (get-labels (get-in related-data [:related-prs])) "norelease")
"Skipping release. Reason: related PR has label norelease"))

;; Note: at 500, I suspect this list will be unproductive to view
(def max-commits-to-summarize
"This is the maximum number of commits to summarize."
500)
50)

(defn generate-new-release-data [context related-data]
(let [bump-version-scheme (bump-version-scheme context related-data)
Expand Down

0 comments on commit ebcb13a

Please sign in to comment.