From d35c8e5b93bb1a56ac642f933419bf8122a1c9db Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Tue, 1 Oct 2024 21:10:50 +0200 Subject: [PATCH] CI: Ignore translations commits --- .github/workflows/build.yml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8b570f258..1d7716ce7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: build-opensuse: name: Build openSUSE - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -134,7 +134,7 @@ jobs: build-fedora: name: Build Fedora - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -321,7 +321,7 @@ jobs: build-mageia: name: Build Mageia - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -417,7 +417,7 @@ jobs: build-debian: name: Build Debian - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -494,7 +494,7 @@ jobs: build-ubuntu: name: Build Ubuntu - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -576,7 +576,7 @@ jobs: upload-ubuntu-ppa: name: Upload Ubuntu PPA - if: github.repository == 'strawberrymusicplayer/strawberry' && github.event.pull_request.head.repo.fork == false && (github.event_name == 'release' || (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci' || github.ref == 'refs/heads/1.1'))) + if: github.repository == 'strawberrymusicplayer/strawberry' && github.event.pull_request.head.repo.fork == false && (github.event_name == 'release' || (github.event_name == 'push' && (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/ci' || github.ref == 'refs/heads/1.1'))) && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -666,7 +666,7 @@ jobs: build-macos-public: name: Build macOS Public - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) strategy: fail-fast: false @@ -946,7 +946,7 @@ jobs: build-windows-mingw: name: Build Windows MinGW - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -1135,7 +1135,7 @@ jobs: build-windows-msvc: name: Build Windows MSVC - if: github.repository != 'strawberrymusicplayer/strawberry-private' + if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) runs-on: windows-2022 strategy: fail-fast: false