From b010e426641f06df70b014b8d62399703e0003e2 Mon Sep 17 00:00:00 2001 From: Constrat <56174894+Constrat@users.noreply.github.com.> Date: Tue, 21 Oct 2025 15:31:06 +0200 Subject: [PATCH] fix: change default issue + remove always as not necessary --- .github/workflows/res-update-game.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/res-update-game.yml b/.github/workflows/res-update-game.yml index 0b3a12a4d4..cdc0bc910b 100644 --- a/.github/workflows/res-update-game.yml +++ b/.github/workflows/res-update-game.yml @@ -356,10 +356,10 @@ jobs: # gh workflow run release-nightly-ota.yml -f release_body="Auto Release of Resource Updates" - name: Comment on issue if failed - if: always() && (failure() || cancelled()) && github.ref == 'refs/heads/dev' + if: (failure() || cancelled()) && github.ref == 'refs/heads/dev' run: | # Minimize old failure comments - comments=$(gh api repos/${{ github.repository }}/issues/14489/comments --jq '.[] | select(.user.login == "github-actions[bot]") | select(.body | contains("${{ github.server_url }}/${{ github.repository }}/actions/runs/")) | .node_id') + comments=$(gh api repos/${{ github.repository }}/issues/14493/comments --jq '.[] | select(.user.login == "github-actions[bot]") | select(.body | contains("${{ github.server_url }}/${{ github.repository }}/actions/runs/")) | .node_id') for node_id in $comments; do gh api graphql -f query=' mutation { @@ -372,7 +372,7 @@ jobs: done # Add new failure comment - gh issue comment 14489 -R ${{ github.repository }} --body "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} + gh issue comment 14493 -R ${{ github.repository }} --body "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }} MistEO ABA2396 Constrat" env: