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:
Daniel Lockyer 2021-08-16 15:51:30 +01:00
parent 4a24e0a089
commit 3d7d491f64

View File

@ -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: