From 243587fe985486758d344069accdce3a2ca9903a Mon Sep 17 00:00:00 2001 From: Victor Emanuel Cuello Date: Mon, 16 Sep 2024 19:20:09 -0300 Subject: [PATCH] Separando los eventos MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Se optó por separar los entorno de PR y Push para el build --- .github/workflows/build.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ecd9f19..4cc2310 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,6 @@ name: Build on: - push: null pull_request: types: [opened, synchronize, reopened] @@ -41,7 +40,7 @@ jobs: with: assignees: ${{ github.event.sender.login }} - name: Comment on PR if failed - if: failure() && github.event_name == 'pull_request' + if: failure() uses: unsplash/comment-on-pr@v1.3.0 env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}