From b54734c44debf485257e5f9f3f8e9394dfcb5ef9 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:05:44 +0200 Subject: [PATCH 01/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 56 ++++++++++++++++++++---------- 1 file changed, 37 insertions(+), 19 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 21a4ba404f..a4c5cca5d4 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -1,31 +1,49 @@ -name: Search & Destroy evenodds +name: Actualizar comentario de la PR on: push: - paths: - - "icons/" + branches: + - main pull_request: branches: - - production + - main jobs: build: runs-on: ubuntu-latest steps: - # - name: Checkout del repositorio - # uses: actions/checkout@v2 + - name: Checkout del repositorio + uses: actions/checkout@v2 + + - name: Actualizar comentario de la PR + uses: actions/github-script@v4 + with: + github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} + script: | + const evenoddFiles = '${{ steps..outputs.evenodd_files }}'; + const prNumber = context.payload.pull_request.number; + const body = `Archivos con 'evenodd':\n${evenoddFiles}`; + + const { data: comments } = await github.issues.listComments({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + }); - - name: Buscar palabra en archivos SVG - run: | - files_with_evenodd="" - for file in $(find icons -name "*.svg"); do - if grep -q "evenodd" "$file"; then - # echo "Se encontró la palabra 'evenodd' en $file" - files_with_evenodd="${files_with_evenodd}${file}\n" - fi - done - if [ -n "$files_with_evenodd" ]; then - echo -e "Archivos con 'evenodd':\n${files_with_evenodd}" - exit 1 - fi + const existingComment = comments.find(comment => comment.user.login === 'github-actions[bot]' && comment.body.startsWith('Archivos con \'evenodd\':')); + if (existingComment) { + await github.issues.updateComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: existingComment.id, + body, + }); + } else { + await github.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + body, + }); + } From c5526257a376ab763156fb8f12e74a62f497db5d Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:06:42 +0200 Subject: [PATCH 02/18] Update add-more-circle-regular.svg --- icons/telefonica/regular/add-more-circle-regular.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/telefonica/regular/add-more-circle-regular.svg b/icons/telefonica/regular/add-more-circle-regular.svg index de377723fb..54b86d2f50 100644 --- a/icons/telefonica/regular/add-more-circle-regular.svg +++ b/icons/telefonica/regular/add-more-circle-regular.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 773211a1ffaabf6f54c381544f1d0f501ee15c4c Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:07:21 +0200 Subject: [PATCH 03/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index a4c5cca5d4..5ddbc05075 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -3,10 +3,10 @@ name: Actualizar comentario de la PR on: push: branches: - - main + - production pull_request: branches: - - main + - production jobs: build: From fddb382126063c6a21a72b89b4eed7beef765966 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:08:39 +0200 Subject: [PATCH 04/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 5ddbc05075..d533597fec 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -2,8 +2,8 @@ name: Actualizar comentario de la PR on: push: - branches: - - production + paths: + - icons/ pull_request: branches: - production From 79ac627d42e1359baaf2c4b2a2910209b22aafbf Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:08:58 +0200 Subject: [PATCH 05/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index d533597fec..37ce9b0022 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -2,8 +2,6 @@ name: Actualizar comentario de la PR on: push: - paths: - - icons/ pull_request: branches: - production From b5dd0bb65b2c59ad2c8f185868eb3f9bfc9921e1 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:10:47 +0200 Subject: [PATCH 06/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 47 +++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 13 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 782e3317bd..602c3a57ba 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -13,16 +13,37 @@ jobs: runs-on: ubuntu-latest steps: - - name: Buscar palabra en archivos SVG - run: | - files_with_evenodd="" - for file in $(find icons -name "*.svg"); do - if grep -q "evenodd" "$file"; then - # echo "Se encontró la palabra 'evenodd' en $file" - files_with_evenodd="${files_with_evenodd}${file}\n" - fi - done - if [ -n "$files_with_evenodd" ]; then - echo -e "Archivos con 'evenodd':\n${files_with_evenodd}" - exit 1 - fi + - name: Checkout del repositorio + uses: actions/checkout@v2 + + - name: Actualizar comentario de la PR + uses: actions/github-script@v4 + with: + github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} + script: | + const evenoddFiles = '${{ steps..outputs.evenodd_files }}'; + const prNumber = context.payload.pull_request.number; + const body = `Archivos con 'evenodd':\n${evenoddFiles}`; + + const { data: comments } = await github.issues.listComments({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + }); + + const existingComment = comments.find(comment => comment.user.login === 'github-actions[bot]' && comment.body.startsWith('Archivos con \'evenodd\':')); + if (existingComment) { + await github.issues.updateComment({ + owner: context.repo.owner, + repo: context.repo.repo, + comment_id: existingComment.id, + body, + }); + } else { + await github.issues.createComment({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: prNumber, + body, + }); + } From 83b038a571e932aeb9bc624bd4c0239f19d83383 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:11:22 +0200 Subject: [PATCH 07/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 602c3a57ba..ec5ab5199a 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -2,8 +2,8 @@ name: Search & Destroy evenodds on: push: - paths: - - "icons/" + # paths: + # - "icons/" pull_request: branches: - production From 31b423cfe6dbab86fef700ef117a47c39b92c535 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:13:09 +0200 Subject: [PATCH 08/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index ec5ab5199a..72b4ff6593 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -21,7 +21,7 @@ jobs: with: github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} script: | - const evenoddFiles = '${{ steps..outputs.evenodd_files }}'; + const evenoddFiles = '${{ steps.evenodd.outputs.evenodd_files }}'; const prNumber = context.payload.pull_request.number; const body = `Archivos con 'evenodd':\n${evenoddFiles}`; From 770880868e08bd36631f32d9d4f6370c5a1fd017 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:21:48 +0200 Subject: [PATCH 09/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 72b4ff6593..e280c09bd2 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -1,9 +1,7 @@ -name: Search & Destroy evenodds +name: Buscar palabra en archivos SVG y actualizar comentario de la PR on: push: - # paths: - # - "icons/" pull_request: branches: - production @@ -16,7 +14,24 @@ jobs: - name: Checkout del repositorio uses: actions/checkout@v2 + - name: Buscar palabra en archivos SVG + id: buscar-palabra + run: | + files_with_evenodd="" + for file in $(find icons -name "*.svg"); do + if grep -q "evenodd" "$file"; then + echo "Se encontró la palabra 'evenodd' en $file" + files_with_evenodd="${files_with_evenodd}${file}\n" + fi + done + if [ -n "$files_with_evenodd" ]; then + echo -e "::set-output name=evenodd_files::${files_with_evenodd}" + echo -e "Archivos con 'evenodd':\n${files_with_evenodd}" + exit 1 + fi + - name: Actualizar comentario de la PR + if: ${{ github.event_name == 'pull_request' }} uses: actions/github-script@v4 with: github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} From b410232de35d3a758219b26669ca8604f42da019 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:24:08 +0200 Subject: [PATCH 10/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index e280c09bd2..211cda547a 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -1,7 +1,6 @@ name: Buscar palabra en archivos SVG y actualizar comentario de la PR on: - push: pull_request: branches: - production @@ -27,11 +26,11 @@ jobs: if [ -n "$files_with_evenodd" ]; then echo -e "::set-output name=evenodd_files::${files_with_evenodd}" echo -e "Archivos con 'evenodd':\n${files_with_evenodd}" - exit 1 + exit 0 fi - name: Actualizar comentario de la PR - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && steps.buscar-palabra.outcome != 'failure' }} uses: actions/github-script@v4 with: github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} @@ -62,3 +61,7 @@ jobs: body, }); } + + if (evenoddFiles) { + core.setFailed("Se encontró la palabra 'evenodd' en los archivos"); + } From 26d5c1d3910c4c00b1a92816383f7c71e1d80335 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:26:42 +0200 Subject: [PATCH 11/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 211cda547a..3ebceda6bc 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -26,11 +26,10 @@ jobs: if [ -n "$files_with_evenodd" ]; then echo -e "::set-output name=evenodd_files::${files_with_evenodd}" echo -e "Archivos con 'evenodd':\n${files_with_evenodd}" - exit 0 fi - name: Actualizar comentario de la PR - if: ${{ github.event_name == 'pull_request' && steps.buscar-palabra.outcome != 'failure' }} + if: ${{ github.event_name == 'pull_request' && steps.buscar-palabra.outputs.evenodd_files != '' }} uses: actions/github-script@v4 with: github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} @@ -62,6 +61,6 @@ jobs: }); } - if (evenoddFiles) { - core.setFailed("Se encontró la palabra 'evenodd' en los archivos"); - } + - name: Verificar archivos con evenodd + if: ${{ steps.buscar-palabra.outputs.evenodd_files != '' }} + run: exit 1 From b7722862c4220125588a2240a9377d30c06725aa Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:28:56 +0200 Subject: [PATCH 12/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 3ebceda6bc..34d2914d42 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -25,11 +25,10 @@ jobs: done if [ -n "$files_with_evenodd" ]; then echo -e "::set-output name=evenodd_files::${files_with_evenodd}" - echo -e "Archivos con 'evenodd':\n${files_with_evenodd}" fi - name: Actualizar comentario de la PR - if: ${{ github.event_name == 'pull_request' && steps.buscar-palabra.outputs.evenodd_files != '' }} + if: ${{ github.event_name == 'pull_request' }} uses: actions/github-script@v4 with: github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} From 47950e89156cafe1e120b403dce2bd21e4117026 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:31:15 +0200 Subject: [PATCH 13/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 34 +++++------------------------- 1 file changed, 5 insertions(+), 29 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 34d2914d42..42121266eb 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -29,36 +29,12 @@ jobs: - name: Actualizar comentario de la PR if: ${{ github.event_name == 'pull_request' }} - uses: actions/github-script@v4 + uses: peter-evans/create-or-update-comment@v1 with: - github-token: ${{ secrets.NOVUM_PRIVATE_REPOS }} - script: | - const evenoddFiles = '${{ steps.evenodd.outputs.evenodd_files }}'; - const prNumber = context.payload.pull_request.number; - const body = `Archivos con 'evenodd':\n${evenoddFiles}`; - - const { data: comments } = await github.issues.listComments({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: prNumber, - }); - - const existingComment = comments.find(comment => comment.user.login === 'github-actions[bot]' && comment.body.startsWith('Archivos con \'evenodd\':')); - if (existingComment) { - await github.issues.updateComment({ - owner: context.repo.owner, - repo: context.repo.repo, - comment_id: existingComment.id, - body, - }); - } else { - await github.issues.createComment({ - owner: context.repo.owner, - repo: context.repo.repo, - issue_number: prNumber, - body, - }); - } + issue-number: ${{ github.event.pull_request.number }} + body: | + Archivos con 'evenodd': + ${{ steps.buscar-palabra.outputs.evenodd_files }} - name: Verificar archivos con evenodd if: ${{ steps.buscar-palabra.outputs.evenodd_files != '' }} From f16f22d8f71cdf836bdc6e5f5a4c930e845e2fe6 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:39:47 +0200 Subject: [PATCH 14/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 33 +++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 42121266eb..65d1c891f5 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -20,22 +20,41 @@ jobs: for file in $(find icons -name "*.svg"); do if grep -q "evenodd" "$file"; then echo "Se encontró la palabra 'evenodd' en $file" - files_with_evenodd="${files_with_evenodd}${file}\n" + folder=$(dirname "$file") + icon_name=$(basename "$file") + files_with_evenodd="${files_with_evenodd}- \"${icon_name}\" / \"${folder}\"\n" + cp "$file" "${GITHUB_WORKSPACE}/${icon_name}" fi done if [ -n "$files_with_evenodd" ]; then - echo -e "::set-output name=evenodd_files::${files_with_evenodd}" + echo "::set-output name=evenodd_files::${files_with_evenodd}" fi + - name: Formatear lista de iconos + id: formatear-iconos + run: | + echo "Icons with evenodd" + echo "
" + echo " ${{ steps.buscar-palabra.outputs.evenodd_files }}" + echo "
" + + - name: Cargar artefacto SVG + uses: actions/upload-artifact@v2 + with: + name: svg-artifact + path: ${{ github.workspace }}/*.svg + + - name: Obtener URL del artefacto SVG + id: svg-url + run: | + echo "::set-output name=svg_url::$(cat $GITHUB_EVENT_PATH | jq -r .repository.html_url)/-/jobs/${{ github.job }}" + - name: Actualizar comentario de la PR if: ${{ github.event_name == 'pull_request' }} uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github.event.pull_request.number }} body: | - Archivos con 'evenodd': - ${{ steps.buscar-palabra.outputs.evenodd_files }} + ${{ steps.formatear-iconos.outputs.stdout }} - - name: Verificar archivos con evenodd - if: ${{ steps.buscar-palabra.outputs.evenodd_files != '' }} - run: exit 1 + ![SVG Image](${{ steps.svg-url.outputs.svg_url }}/artifacts/svg-artifact/*.svg) From 72a08ba44600e6bf5b7185bf1f5c1f8626277454 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:40:31 +0200 Subject: [PATCH 15/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 65d1c891f5..7da3af2911 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -20,14 +20,11 @@ jobs: for file in $(find icons -name "*.svg"); do if grep -q "evenodd" "$file"; then echo "Se encontró la palabra 'evenodd' en $file" - folder=$(dirname "$file") - icon_name=$(basename "$file") - files_with_evenodd="${files_with_evenodd}- \"${icon_name}\" / \"${folder}\"\n" - cp "$file" "${GITHUB_WORKSPACE}/${icon_name}" + files_with_evenodd="${files_with_evenodd}${file}\n" fi done if [ -n "$files_with_evenodd" ]; then - echo "::set-output name=evenodd_files::${files_with_evenodd}" + echo -e "::set-output name=evenodd_files::${files_with_evenodd}" fi - name: Formatear lista de iconos @@ -38,23 +35,15 @@ jobs: echo " ${{ steps.buscar-palabra.outputs.evenodd_files }}" echo "" - - name: Cargar artefacto SVG - uses: actions/upload-artifact@v2 - with: - name: svg-artifact - path: ${{ github.workspace }}/*.svg - - - name: Obtener URL del artefacto SVG - id: svg-url - run: | - echo "::set-output name=svg_url::$(cat $GITHUB_EVENT_PATH | jq -r .repository.html_url)/-/jobs/${{ github.job }}" - - name: Actualizar comentario de la PR if: ${{ github.event_name == 'pull_request' }} uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github.event.pull_request.number }} body: | - ${{ steps.formatear-iconos.outputs.stdout }} + Archivos con 'evenodd': + ${{ steps.buscar-palabra.outputs.evenodd_files }} - ![SVG Image](${{ steps.svg-url.outputs.svg_url }}/artifacts/svg-artifact/*.svg) + - name: Verificar archivos con evenodd + if: ${{ steps.buscar-palabra.outputs.evenodd_files != '' }} + run: exit 1 From ccb790506cb5b1dd199e2f287742d950705edd9e Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:41:37 +0200 Subject: [PATCH 16/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index 7da3af2911..ad85e0cd3b 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -40,9 +40,7 @@ jobs: uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github.event.pull_request.number }} - body: | - Archivos con 'evenodd': - ${{ steps.buscar-palabra.outputs.evenodd_files }} + body: ${{ steps.formatear-iconos.outputs.stdout }} - name: Verificar archivos con evenodd if: ${{ steps.buscar-palabra.outputs.evenodd_files != '' }} From 57e76e2df1c12962447ac4bda86352ee6573bb04 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:42:28 +0200 Subject: [PATCH 17/18] Update add-more-location-regular.svg --- icons/telefonica/regular/add-more-location-regular.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/telefonica/regular/add-more-location-regular.svg b/icons/telefonica/regular/add-more-location-regular.svg index 3770c0aa1b..54b86d2f50 100644 --- a/icons/telefonica/regular/add-more-location-regular.svg +++ b/icons/telefonica/regular/add-more-location-regular.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 79c4aa3ed01f3ec7fd71850770af3503e54ca787 Mon Sep 17 00:00:00 2001 From: yceballost Date: Tue, 30 May 2023 23:43:43 +0200 Subject: [PATCH 18/18] Update evenodd-test.yml --- .github/workflows/evenodd-test.yml | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/evenodd-test.yml b/.github/workflows/evenodd-test.yml index ad85e0cd3b..f2a9846634 100644 --- a/.github/workflows/evenodd-test.yml +++ b/.github/workflows/evenodd-test.yml @@ -27,20 +27,14 @@ jobs: echo -e "::set-output name=evenodd_files::${files_with_evenodd}" fi - - name: Formatear lista de iconos - id: formatear-iconos - run: | - echo "Icons with evenodd" - echo "
" - echo " ${{ steps.buscar-palabra.outputs.evenodd_files }}" - echo "
" - - name: Actualizar comentario de la PR if: ${{ github.event_name == 'pull_request' }} uses: peter-evans/create-or-update-comment@v1 with: issue-number: ${{ github.event.pull_request.number }} - body: ${{ steps.formatear-iconos.outputs.stdout }} + body: | + Archivos con 'evenodd': + - ${{ steps.buscar-palabra.outputs.evenodd_files }} - name: Verificar archivos con evenodd if: ${{ steps.buscar-palabra.outputs.evenodd_files != '' }}