From e0e00a64c3367d1223681e2f5c2947e1453b9d29 Mon Sep 17 00:00:00 2001 From: anikaweinmann Date: Thu, 12 Dec 2024 09:20:34 +0100 Subject: [PATCH] add Post PR reviews --- .github/workflows/linting.yml | 5 ----- .github/workflows/post-pr-reviews.yml | 11 +++++++++++ 2 files changed, 11 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/post-pr-reviews.yml diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index de234cf..5e37657 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -15,8 +15,3 @@ jobs: # VALIDATE_HTML: false # VALIDATE_CSS: false # VALIDATE_BASH_EXEC: false - - post-pr-reviews: - needs: lint - if: ${{ needs.lint.result == 'failure' }} - uses: mundialis/github-workflows/.github/workflows/post-pr-reviews.yml@main diff --git a/.github/workflows/post-pr-reviews.yml b/.github/workflows/post-pr-reviews.yml new file mode 100644 index 0000000..6670c0d --- /dev/null +++ b/.github/workflows/post-pr-reviews.yml @@ -0,0 +1,11 @@ +name: Post PR code suggestions + +on: + workflow_run: + workflows: ["Linting and code quality check"] + types: + - completed + +jobs: + post-pr-reviews: + uses: mundialis/github-workflows/.github/workflows/post-pr-reviews.yml@main \ No newline at end of file