Skip to content

actor runtime has not been configured #6

actor runtime has not been configured

actor runtime has not been configured #6

Workflow file for this run

name: Submit Issue to Pylon
on:
issues:
types: [opened]
jobs:
submit-issue:
runs-on: ubuntu-latest
steps:
- name: Submit Issue to Pylon API
env:
PYLON_API_TOKEN: ${{ secrets.PYLON_API_TOKEN }}
ACCOUNT_ID: 4c2d8a51-241b-4764-ac17-118c7aca70be
REQUESTER_EMAIL: ${{ github.event.issue.user.email }}
REQUESTER_NAME: ${{ github.event.issue.user.login }}
TITLE: ${{ github.event.issue.title }}
BODY_HTML: ${{ github.event.issue.body }}
DEFAULT_EMAIL: "[email protected]"
run: |
if [ -z "$REQUESTER_EMAIL" ]; then
REQUESTER_EMAIL=$DEFAULT_EMAIL
fi
curl --request POST \
--url https://api.usepylon.com/issues \
--header "Authorization: Bearer $PYLON_API_TOKEN" \
--header 'Content-Type: application/json' \
--data '{
"account_id": "'"$ACCOUNT_ID"'",
"requester_email": "'"$REQUESTER_EMAIL"'",
"requester_name": "'"$REQUESTER_NAME"'",
"requester_avatar_url": "",
"title": "'"$TITLE"'",
"body_html": "'"<p>$BODY_HTML</p>"'",
"priority": "low",
"destination_metadata": {
"destination": "internal"
}
}'