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
1 changed files with 2 additions and 0 deletions

View File

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