Skip to content

The Looker SDK failed with a 'Bad JSON: Unterminated string starting at...' error, but the same request worked via a direct API call. #56

The Looker SDK failed with a 'Bad JSON: Unterminated string starting at...' error, but the same request worked via a direct API call.

The Looker SDK failed with a 'Bad JSON: Unterminated string starting at...' error, but the same request worked via a direct API call. #56

name: Label all new/reopened issues with P3
on:
issues:
types:
- reopened
- opened
jobs:
label_issues_p3:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v6
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["p3"]
})