Don't fail scheduled ci tasks due to notification

This commit is contained in:
Matthias 2022-04-28 14:40:47 +02:00 committed by GitHub
parent e0d86307cb
commit 64072f76b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,6 +321,8 @@ jobs:
notify-complete: notify-complete:
needs: [ build_linux, build_macos, build_windows, docs_check, mypy_version_check ] needs: [ build_linux, build_macos, build_windows, docs_check, mypy_version_check ]
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
# Discord notification can't handle schedule events
if: (github.event_name != 'schedule')
steps: steps:
- name: Check user permission - name: Check user permission