Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

Pull request stats

Cristina edited this page Apr 12, 2022 · 5 revisions

NOTE: this code has not been updated.

This is the first of the three GitHub actions and is based off this work:

https://github.com/dxw/measure-pr-stats

We have:

  • brought in the code and slightly modified the names

  • created a GitHub action that wraps the function

  • modified the script to take a path

  • added the action to this repo so we can see it working

  • the aciton passes the Github repo as the repository so the action works anywhere.

  • the action must be preceeded by the github/checkout@v2 action!

  • Visit: https://github.com/dxw/measuring-development-practice/actions and tirgger the action

  • open the actions and look for the Get pull request statistics step

  • inside there you should something like see (depends how many PRs are open on this repo!):

0,0,1

We think the numbers are:

total_changes, changes_per_commit, number_of_commits

Which doesn't make alot of sense as we often see 0?

Clone this wiki locally