adafruit / adafruit/circuitpython-action-library-ci-failed

Cannot read properties of undefined (reading 'number')

Open
#3 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

this action seems to fail sometimes with an error about access properties of undefined

https://github.com/adafruit/Adafruit_CircuitPython_MCP3xxx/actions/runs/6266083060/job/17016277240

![image](https://github.com/adafruit/circuitpython-action-library-ci-failed/assets/2406189/8bf83781-541e-479f-af6b-e93b31ca60d5)

My best guess is that it may be related to one of the lines that are accessing `issue.number` from here: https://github.com/adafruit/circuitpython-action-library-ci-failed/blob/main/index.js#L18 and a bit further down. But I am not certain.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked workflow run and inspect index.js around line 18 and the other issue.number access mentioned in the report. Determine which value is undefined during the failure and verify the action no longer throws this error when that condition occurs.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
ci-cd
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.