contributor-assistant / github-action

CLA Assistant GitHub Action
Apache License 2.0
281 stars 93 forks source link

[BUG] #160

Open danielmcquillen opened 2 months ago

danielmcquillen commented 2 months ago

Describe the bug I have implemented the cla.yml as described in my project (https://github.com/ScienceCommunicationLab/KinesinLMS/blob/main/.github/workflows/cla.yml), making only the following changes:

When I make any change to code and git push, the cla.yml workflow fails with the error : Cannot read properties of undefined (reading 'some')

Expected behavior I would have thought the CLAAssistant would complete without error.

Screenshots image

kingthorin commented 2 months ago

Is your main branch protected?

kingthorin commented 2 months ago

You might also need to default the content of your signatures json file (I'm just guessing here based on other tickets :wink:) :

{
  "signedContributors": [
  ]
}
danielmcquillen commented 2 months ago

@kingthorin Thanks for the help!

kingthorin commented 2 months ago

Let us know if you get it working.