Skip to content

PR comment is not posted #26

@sh-jthorpe

Description

@sh-jthorpe

The action runs successfully, has output in the github action run, but a comment isn't posted to the PR.

      - uses: yokawasa/action-sqlcheck@v1.5.0
        with: 
          post-comment: true
          risk-level: 2
          token: ${{ secrets.GITHUB_TOKEN }}
          directories: |
            Sql

I don't see any obvious issues with the post_pr_comment method.

Maybe write it to $GITHUB_OUTPUT, so that users can post a comment themselves?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions