imjohnbo / issue-bot

GitHub Actions powered Issue Bot 🦾
https://github.com/imjohnbo/issue-bot
MIT License
101 stars 31 forks source link

Adding issue to project is now failing with "Cannot read property 'iterator' of undefined." #51

Closed parmouraly closed 3 years ago

parmouraly commented 3 years ago

Hi,

In our GH action we have a step to automatically add certain issues to one of our GH projects. See sample config bellow:

- name: issue-bot
      uses: imjohnbo/issue-bot@v3
      with:
        labels: "a, b, c"
        project: 1
        column: "To do"
        pinned: false
        close-previous: false
        linked-comments: false
        title: "[recurring] Example task title"
        body: ${{ steps.extract.outputs.body }}
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

This has been working fine but up to 8 days ago.

I noticed this change was released 11 days ago and I think it's related to the runtime error we get, which I believe for us is occurring here

imjohnbo commented 3 years ago

Thanks for the detailed report and sorry for the trouble, @parmouraly. Would you like to test on the fix/issue-51 branch (uses: imjohnbo/issue-bot@fix/issue-51) before I cut a new release tomorrow?

parmouraly commented 3 years ago

Thanks for the quick reaction to this @imjohnbo . We automatically trigger this action every Monday, so I'll point our action to your fix branch and let you know how it went in a few days 👍

parmouraly commented 3 years ago

Hey @imjohnbo , the fix seems to work for us. Thanks again for looking into that so quickly :-)

imjohnbo commented 3 years ago

Happy to help. I'll close this issue and cut a new release shortly. 🙇