action-sqlcheck icon indicating copy to clipboard operation
action-sqlcheck copied to clipboard

PR comment is not posted

Open sh-jthorpe opened this issue 1 year ago • 1 comments

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

      - uses: yokawasa/[email protected]
        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?

sh-jthorpe avatar Jul 31 '24 08:07 sh-jthorpe

@sh-jthorpe I apologize for not responding for so long 🙏 Can you try with risk-level: 3 like this?

      - uses: yokawasa/[email protected]
        with: 
          post-comment: true
          risk-level: 3
          token: ${{ secrets.GITHUB_TOKEN }}
          directories: |
            Sql

yokawasa avatar Nov 04 '24 00:11 yokawasa