This Pull request fixes the issue where all Pull Requests are considered in the computation of pending word contribution; this was because of a missing imperative labels i.e. 📖 new word and 📖 edit word which should've been used to within the search request filter to narrow down list of PRs returns by checking for the presence of either of both label in opened pull requests on the jargons.dev repo.
Changes Made
Added missing labels label:":book: edit word",":book: new word" to the pendingType pull search as filter that check for the presence of either label
Extracted buildStatsUrl to utils from doContributionStats action
Added the same missing labels label:":book: edit word",":book: new word" to the buildStatsUrl execution queryString param for the computation of totalWords stats url
This Pull request fixes the issue where all Pull Requests are considered in the computation of pending word contribution; this was because of a missing imperative labels i.e.
📖 new word
and📖 edit word
which should've been used to within the search request filter to narrow down list of PRs returns by checking for the presence of either of both label in opened pull requests on the jargons.dev repo.Changes Made
label:":book: edit word",":book: new word"
to thependingType
pull search as filter that check for the presence of either labelbuildStatsUrl
to utils fromdoContributionStats
actionlabel:":book: edit word",":book: new word"
to thebuildStatsUrl
execution queryString param for the computation oftotalWords
stats urlScreencast
https://github.com/babblebey/jargons.dev/assets/25631971/1db9a614-8432-466b-a234-44693b2253d5
📖