mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 10:05:32 +00:00
Meta: Increase discord notification's check interval to 100 seconds
Since our tests usually take at least 10 minutes theres no point in checking every 10 seconds, and github was starting to complain about the very high API usage.
This commit is contained in:
parent
ba77b40808
commit
7702a3fe29
2
.github/workflows/discord.yml
vendored
2
.github/workflows/discord.yml
vendored
|
@ -11,11 +11,13 @@ jobs:
|
|||
- name: Wait for tests to finish
|
||||
uses: IdanHo/action-wait-for-check@890bf0671eeeac09faf19f57deb4397eeccc59aa
|
||||
id: wait-for-tests
|
||||
if: ${{ (github.event['pull_request'] && github.event['action'] == 'opened' && !(github.event['pull_request'] == 'draft')) || github.event['commits'] }}
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
excludedCheckName: "notify_discord"
|
||||
ref: ${{ github.event.pull_request.head.sha || github.sha }}
|
||||
timeoutSeconds: 3600
|
||||
intervalSeconds: 100
|
||||
|
||||
- name: Discord action notification
|
||||
env:
|
||||
|
|
Loading…
Reference in a new issue