mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-27 21:03:29 +03:00
Fixed notifications for build failures
no issue - we were still referencing `master` here, whereas we've since switched to `main` - this commit updates the workflow to trigger the notification if it fails on `main` - also enables testing on `v4.*` branches
This commit is contained in:
parent
4a24e0a089
commit
3d7d491f64
3
ghost/admin/.github/workflows/test.yml
vendored
3
ghost/admin/.github/workflows/test.yml
vendored
@ -3,6 +3,7 @@ on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- 'v4.*'
|
||||
- main
|
||||
- 'renovate/*'
|
||||
jobs:
|
||||
@ -20,7 +21,7 @@ jobs:
|
||||
- run: grunt shell:ember:prod
|
||||
|
||||
- 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