From f7d2689a8e98653499dd48046e485b46b23d584b Mon Sep 17 00:00:00 2001 From: Daniel <71837281+darmiel@users.noreply.github.com> Date: Sun, 18 Dec 2022 18:57:29 +0100 Subject: [PATCH] Revert 07dbeb8f66479f3f4acb325aa9209e9efda6d36b (partially) --- .github/workflows/pr_lint_review.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) 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