contributor-assistant/github-action

[BUG]

Opened this issue · 4 comments

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:

  • Set path-to-document to the full URL to the location in the repo of our CLA.md file
  • Set the path-to-signatures value to the location of a file in the repo with an empty json object ("{}")

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

Is your main branch protected?

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

{
  "signedContributors": [
  ]
}

@kingthorin Thanks for the help!

Let us know if you get it working.