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:
Idan Horowitz 2021-04-14 15:17:47 +03:00 committed by Andreas Kling
parent ba77b40808
commit 7702a3fe29

View file

@ -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: