TypeError: Cannot read properties of undefined (reading 'request') when creating workflow from dashboard (v2.3.0) #1345
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add comment | |
on: | |
issues: | |
types: | |
- labeled | |
jobs: | |
add-comment: | |
if: github.event.label.name == '@novu/api-service' | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@v4 | |
- id: get-comment-body | |
run: | | |
ls -la | |
body="$(cat apps/api/jarvis-api-intro.md)" | |
body="${body//'%'/'%25'}" | |
body="${body//$'\n'/'%0A'}" | |
body="${body//$'\r'/'%0D'}" | |
echo "body=$body" >> $GITHUB_OUTPUT | |
- name: Add comment | |
uses: peter-evans/create-or-update-comment@v2 | |
with: | |
issue-number: ${{ github.event.issue.number }} | |
body: ${{ steps.get-comment-body.outputs.body }} |