diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 64f797fae..86a13c5d2 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' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest strategy: fail-fast: false @@ -132,7 +132,7 @@ jobs: build-fedora: name: Build Fedora - if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest strategy: fail-fast: false @@ -221,7 +221,7 @@ jobs: build-openmandriva: name: Build OpenMandriva - if: github.repository != 'strawberrymusicplayer/strawberry-private' && false + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' && false runs-on: ubuntu-latest strategy: fail-fast: false @@ -315,7 +315,7 @@ jobs: build-mageia: name: Build Mageia - if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest strategy: fail-fast: false @@ -410,7 +410,7 @@ jobs: build-debian: name: Build Debian - if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest strategy: fail-fast: false @@ -488,7 +488,7 @@ jobs: build-ubuntu: name: Build Ubuntu - if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest strategy: fail-fast: false @@ -570,7 +570,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'))) && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + 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'))) runs-on: ubuntu-latest strategy: fail-fast: false @@ -658,6 +658,7 @@ jobs: build-freebsd: name: Build FreeBSD + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest steps: - name: Checkout @@ -682,6 +683,7 @@ jobs: build-openbsd: name: Build OpenBSD + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest steps: - name: Checkout @@ -707,7 +709,7 @@ jobs: build-macos-public: name: Build macOS Public - if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' strategy: fail-fast: false @@ -985,7 +987,7 @@ jobs: build-windows-mingw: name: Build Windows MinGW - if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: ubuntu-latest strategy: fail-fast: false @@ -1174,7 +1176,7 @@ jobs: build-windows-msvc: name: Build Windows MSVC - if: github.repository != 'strawberrymusicplayer/strawberry-private' && (!(github.event.pusher.name == 'strawbsbot' && contains(github.event.head_commit.message, 'New translations'))) + if: github.repository != 'strawberrymusicplayer/strawberry-private' && github.ref != 'refs/heads/l10n_master' runs-on: windows-2022 strategy: fail-fast: false