diff --git a/.github/workflows/pr_lint_review.yaml b/.github/workflows/pr_lint_review.yaml index 52c88063..c1f3cba0 100644 --- a/.github/workflows/pr_lint_review.yaml +++ b/.github/workflows/pr_lint_review.yaml @@ -42,21 +42,14 @@ jobs: with: run: python fff-ir-lint/main.py github2 file:changed_file_list.txt - - name: Request Changes - uses: thollander/actions-comment-pull-request@v2 + - uses: ntsd/auto-request-changes-action@v2 + name: "Request Changes" if: ${{ steps.run.outputs.stderr }} with: - message: | - ❌ Found Issues + github-token: "${{ secrets.GITHUB_TOKEN }}" + comment-body: | ${{ steps.run.outputs.stdout }} - - name: Request Changes - uses: thollander/actions-comment-pull-request@v2 - if: ${{ ! steps.run.outputs.stderr }} - with: - message: | - LGTM! 😊 No issues found. - - name: Fail Pipeline if: ${{ steps.run.outputs.stderr }} run: exit 1