Skip to content

Getting JSON.parse error in teamsFx internal file when the conversation is initiated from the MS Teams #568

Getting JSON.parse error in teamsFx internal file when the conversation is initiated from the MS Teams

Getting JSON.parse error in teamsFx internal file when the conversation is initiated from the MS Teams #568

name: issue assigned for app-studio-service
on:
issues:
types: [assigned]
workflow_dispatch: # allows to run manually for testing
inputs:
issueNumber:
description: 'specific issue number to test issue assigned for app-studio-service action'
required: true
jobs:
main:
runs-on: ubuntu-latest
permissions:
issues: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Checkout github action repository
uses: actions/checkout@v3
with:
repository: "microsoft/vscode-github-triage-actions"
ref: stable
path: ./action-base
- name: Copy action
run: |
cp -r .github/actions/issue-assigned-for-app-studio ./action-base/issue-assigned-for-app-studio
cp -r .github/actions/teamsfx-utils ./action-base/teamsfx-utils
- name: Npm install
run: npm install --production --prefix ./action-base
- name: Build action
continue-on-error: true
run: npm run build --prefix ./action-base
- name: Check assigned issue for app-studio-service
id: check
uses: ./action-base/issue-assigned-for-app-studio
with:
token: ${{secrets.GITHUB_TOKEN}}
env:
ISSUE_NUMBER: ${{github.event.inputs.issueNumber}}
- name: Send E-mail to issue assignee
uses: ./.github/actions/send-email-report
env:
TO: ${{ steps.check.outputs.to }}
BODY: '"${{ steps.check.outputs.body }}"'
SUBJECT: ${{ steps.check.outputs.subject }}
MAIL_CLIENT_ID: ${{ secrets.TEST_CLEAN_CLIENT_ID }}
MAIL_CLIENT_SECRET: ${{ secrets.TEST_CLEAN_CLIENT_SECRET }}
MAIL_TENANT_ID: ${{ secrets.TEST_CLEAN_TENANT_ID }}