Disable scheduled notification in CI
This commit is contained in:
parent
1a37c6ff42
commit
68a97a898d
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -327,7 +327,7 @@ jobs:
|
|||||||
# Discord notification can't handle schedule events
|
# Discord notification can't handle schedule events
|
||||||
if: (github.event_name != 'schedule')
|
if: (github.event_name != 'schedule')
|
||||||
permissions:
|
permissions:
|
||||||
repository-projects: read
|
repository-projects: read
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- name: Check user permission
|
- name: Check user permission
|
||||||
@ -419,7 +419,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Discord notification
|
- name: Discord notification
|
||||||
uses: rjstone/discord-webhook-notify@v1
|
uses: rjstone/discord-webhook-notify@v1
|
||||||
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false)
|
if: always() && ( github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork == false) && (github.event_name != 'schedule')
|
||||||
with:
|
with:
|
||||||
severity: info
|
severity: info
|
||||||
details: Deploy Succeeded!
|
details: Deploy Succeeded!
|
||||||
|
Loading…
Reference in New Issue
Block a user