Skip to content

DRAFT_PR_TRACKING is not working when set to true #567

@Aloshadance

Description

@Aloshadance

Describe the bug

When I run the github action with the DRAFT_PR_TRACKING set to true for the pull requests metrics, I get the error: AttributeError: events.

To Reproduce

Run issue metrics in a github workflow step with DRAFT_PR_TRACKING set to true.

Expected behavior

I would receive the default metrics for the draft pull requests.

Screenshots

Image Image

Additional context

runs-on: ubuntu-latest
version of issue metrics package: latest (3.22.1)

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions