From 259f7c537f3bd525a8297e88e0925153cc533fec Mon Sep 17 00:00:00 2001 From: Daniel <71837281+darmiel@users.noreply.github.com> Date: Wed, 21 Dec 2022 01:06:49 +0100 Subject: [PATCH 1/2] ci: put linter result in spoiler tag --- .github/workflows/pr-lint.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml index e1099108..d9fdbe47 100644 --- a/.github/workflows/pr-lint.yaml +++ b/.github/workflows/pr-lint.yaml @@ -52,8 +52,13 @@ jobs: with: github-token: "${{ secrets.GITHUB_TOKEN }}" comment-body: | - ${{ steps.run.outputs.stdout }} +
+ 🐛 Linter Result + + ${{ steps.run.outputs.stdout }} + +
- name: Fail Pipeline if: ${{ steps.run.outputs.stderr }} - run: exit 1 \ No newline at end of file + run: exit 1 From 7f7775c80aa329eba2b56d975dbf79501a36557b Mon Sep 17 00:00:00 2001 From: Daniel <71837281+darmiel@users.noreply.github.com> Date: Wed, 21 Dec 2022 01:07:39 +0100 Subject: [PATCH 2/2] ci: don't fail pipeline if linter issues found --- .github/workflows/pr-lint.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pr-lint.yaml b/.github/workflows/pr-lint.yaml index d9fdbe47..b48dab53 100644 --- a/.github/workflows/pr-lint.yaml +++ b/.github/workflows/pr-lint.yaml @@ -59,6 +59,6 @@ jobs: - - name: Fail Pipeline - if: ${{ steps.run.outputs.stderr }} - run: exit 1 + # - name: Fail Pipeline + # if: ${{ steps.run.outputs.stderr }} + # run: exit 1