diff --git a/.github/workflows/pr-checker.yml b/.github/workflows/pr-checker.yml index acc4a070a1..cef7115ab7 100644 --- a/.github/workflows/pr-checker.yml +++ b/.github/workflows/pr-checker.yml @@ -46,10 +46,13 @@ jobs: - name: Add Code Format Fail Comment if: always() && steps.codeFormat.outcome == 'failure' - uses: thollander/actions-comment-pull-request@v1 + uses: actions-cool/issues-helper@v3 with: - message: | - Thanks a lot for your contribution! But, PR does not seem to fit our code format standards. Please run the 'npm run format' command and commit the changes. + actions: 'create-comment' + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + Thanks a lot for your contribution! But, PR does not seem to fit our code format standards. Please run the 'npm run format' command and commit the changes. #- name: Add Unit Test Fail Comment # if: always() && steps.unitTest.outcome == 'failure'