mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 22:43:30 +03:00
Updated test workflow for default branch rename
- 4.0 is now main, which is the default branch
This commit is contained in:
parent
97372bf6a4
commit
db67a7f06b
7
ghost/admin/.github/workflows/test.yml
vendored
7
ghost/admin/.github/workflows/test.yml
vendored
@ -3,8 +3,7 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- '4.0'
|
||||
- main
|
||||
- 'renovate/*'
|
||||
jobs:
|
||||
prod-build:
|
||||
@ -40,7 +39,7 @@ jobs:
|
||||
- run: yarn lint:js
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/4.0' || github.ref == 'refs/heads/master')
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
env:
|
||||
@ -68,7 +67,7 @@ jobs:
|
||||
BROWSER: ${{ matrix.browser }}
|
||||
|
||||
- uses: daniellockyer/action-slack-build@master
|
||||
if: failure() && github.event_name == 'push' && (github.ref == 'refs/heads/4.0' || github.ref == 'refs/heads/master')
|
||||
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
|
||||
with:
|
||||
status: ${{ job.status }}
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user