Updated github actions to ignore language branch

Old branch filters did not seem to work since they are supposed to
reference the target branch, not source branch.
Instead used if statement to prevent run on crowdin branch.
This commit is contained in:
Dan Brown 2022-02-13 13:03:41 +00:00
parent 7a8505f812
commit f8e6172582
No known key found for this signature in database
GPG Key ID: 46D9F943C24A2EF9
3 changed files with 6 additions and 21 deletions

@ -1,15 +1,10 @@
name: phpstan
on:
push:
branches-ignore:
- l10n_development
pull_request:
branches-ignore:
- l10n_development
on: [push, pull_request]
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-20.04
strategy:
matrix:

@ -1,15 +1,10 @@
name: phpunit
on:
push:
branches-ignore:
- l10n_development
pull_request:
branches-ignore:
- l10n_development
on: [push, pull_request]
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-20.04
strategy:
matrix:

@ -1,15 +1,10 @@
name: test-migrations
on:
push:
branches-ignore:
- l10n_development
pull_request:
branches-ignore:
- l10n_development
on: [push, pull_request]
jobs:
build:
if: ${{ github.ref != 'refs/heads/l10n_development' }}
runs-on: ubuntu-20.04
strategy:
matrix: