mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 01:10:28 +03:00
CI: Notify Discord on all new PRs, even drafts
This commit is contained in:
parent
f356c4ab91
commit
7eaac7d2c1
Notes:
sideshowbarker
2024-07-18 01:45:46 +09:00
Author: https://github.com/thislooksfun Commit: https://github.com/SerenityOS/serenity/commit/7eaac7d2c1b Pull-request: https://github.com/SerenityOS/serenity/pull/10648
3
.github/workflows/discord.yml
vendored
3
.github/workflows/discord.yml
vendored
@ -13,4 +13,5 @@ jobs:
|
||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
||||
CUSTOM_GITHUB_EVENT_NAME: ${{ github.event_name == 'pull_request_target' && 'pull_request' || github.event_name }} # fake the event type as discord doesn't know how to parse the special pull_request_target context
|
||||
uses: IdanHo/action-discord@754598254f288e6d8e9fca637832e3c163515ba8
|
||||
if: ${{ (github.event['pull_request'] && github.event['action'] == 'opened' && !github.event.pull_request.draft) || github.event['commits'] }}
|
||||
# FIXME: Find a way to notify on 'ready_for_review', but rate-limited to once/twice per day.
|
||||
if: ${{ (github.event['pull_request'] && github.event['action'] == 'opened') || github.event['commits'] }}
|
||||
|
Loading…
Reference in New Issue
Block a user