diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd2e0bcdf..142bb5c67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,7 +63,7 @@ jobs: discord: name: Send Discord Notification needs: build_and_push - if: always() && github.event_name != 'pull_request' + if: always() && github.event_name != 'pull_request' && !contains(github.event.head_commit.message, '[skip ci]') runs-on: ubuntu-20.04 steps: - name: Get Build Job Status diff --git a/.github/workflows/snap.yaml b/.github/workflows/snap.yaml index e0b100bf2..b7a2278a7 100644 --- a/.github/workflows/snap.yaml +++ b/.github/workflows/snap.yaml @@ -75,7 +75,7 @@ jobs: discord: name: Send Discord Notification needs: build-snap - if: always() + if: always() && !contains(github.event.head_commit.message, '[skip ci]') runs-on: ubuntu-20.04 steps: - name: Get Build Job Status