github / issue-metrics

Gather metrics on issues/prs/discussions such as time to first response, count of issues opened, closed, etc.
https://github.blog/2023-07-19-metrics-for-issues-pull-requests-and-discussions/
MIT License
372 stars 46 forks source link

Overview metrics should obey HIDE env vars #308

Closed zkoppert closed 1 month ago

zkoppert commented 1 month ago

Describe the bug

When a user enables a HIDE_* env variable, it does not apply to the overview table and only to the detailed table but it should apply to both.

see https://github.com/github/issue-metrics/discussions/300

To Reproduce

Run the tool with HIDE_TIME_TO_CLOSE: true and see that Time to close is still in the output of the first table. See example

Expected behavior

Time to close should be hidden

Screenshots

No response

Additional context

No response

zkoppert commented 1 month ago

Okay, I wrote this issue incorrectly. opened a new issue to track the right problem.