From e0110f859c0769d87c013c8a7d50b47b0ee1ac23 Mon Sep 17 00:00:00 2001 From: Zamiell <5511220+Zamiell@users.noreply.github.com> Date: Fri, 23 Feb 2024 02:04:01 -0500 Subject: [PATCH] chore: simplify ci --- .github/workflows/ci.yml | 6 ++---- cspell.json | 2 ++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17bb5cf..cd17128 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,12 +26,10 @@ jobs: discord: name: Discord Failure Notification needs: [build_and_lint] - if: always() # This is needed to always run this job, even if the other jobs fail + if: failure() runs-on: ubuntu-latest steps: - - uses: technote-space/workflow-conclusion-action@v2 - - if: env.WORKFLOW_CONCLUSION != 'success' && env.WORKFLOW_CONCLUSION != 'cancelled' - uses: sarisia/actions-status-discord@v1 + - uses: sarisia/actions-status-discord@v1 with: webhook: ${{ secrets.DISCORD_WEBHOOK }} status: ${{ env.WORKFLOW_CONCLUSION }} diff --git a/cspell.json b/cspell.json index 565e1e3..55837a8 100644 --- a/cspell.json +++ b/cspell.json @@ -42,6 +42,7 @@ "Gello", "Ghostbroster", "godotenv", + "golangci", "gonic", "goodposter", "GOPATH", @@ -98,6 +99,7 @@ "ruleset", "Sakk", "Samael", + "sarisia", "Sawblade", "Shigan", "Shoutouts",