mirror of
https://github.com/NatsumeLS/Gakumas-Translation-Data-EN.git
synced 2026-02-04 00:54:53 +00:00
fix(dispatch.yml): update condition for sending notification to Discord to exclude pull request events
fix(dispatch.yml): update condition for dispatching update submodule to exclude pull request events
This commit is contained in:
4
.github/workflows/dispatch.yml
vendored
4
.github/workflows/dispatch.yml
vendored
@@ -28,7 +28,7 @@ jobs:
|
||||
|
||||
- name: Send Notification to Discord
|
||||
uses: sarisia/actions-status-discord@v1
|
||||
if: failure()
|
||||
if: failure() && github.event_name != 'pull_request'
|
||||
with:
|
||||
webhook: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
status: ${{ job.status }}
|
||||
@@ -40,6 +40,8 @@ jobs:
|
||||
|
||||
needs: validate
|
||||
|
||||
if: github.event_name != 'pull_request'
|
||||
|
||||
steps:
|
||||
- name: Dispatch Update Submodule to Gakumas-Localify-EN
|
||||
uses: peter-evans/repository-dispatch@v3
|
||||
|
||||
Reference in New Issue
Block a user