coverage
coverage copied to clipboard
Coverage check only includes changes from the last commit (missing files from previous commits in the same branch).
trafficstars
Hi @oreporan,
Thank you for the helpful package.
Currently, the coverage takes the last commit (in the same branch) and ignore the files from previous commits (in the same branch).
Can you help us with that ?
the action looks at the pull request base and not on the last commit
const {pull_request} = context.payload
const base = pull_request?.base.sha
const head = pull_request?.head.sha