[FEATURE] X-Ray integration so that it would show calls to dynamodb in aws cloud watch traces #622
This file contains 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: Source Map Parser | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
parse: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
- run: cd utils/source-map-stacktrace-parser && npm install | |
- run: node utils/source-map-stacktrace-parser/index.js | |
id: parser | |
env: | |
comment: ${{ github.event.comment.body }} | |
- name: Comment Action | |
uses: JungWinter/comment@v1.1.0 | |
if: ${{ steps.parser.outputs.outputtrace != '' }} | |
with: | |
type: create | |
body: "@${{ github.event.comment.user.login }} Here is the parsed stack trace you requested:\n${{ steps.parser.outputs.outputtrace }}" | |
issue_number: "${{ github.event.issue.number }}" | |
token: ${{ secrets.GITHUB_TOKEN }} |