Meta: Include queued checks in the discord notification's checks filter

The previous filter would filter out queued checks as well, which would
result in erroneous build success notifications going out if github
started the discord notifications workflow before all other workflows.
This commit is contained in:
Idan Horowitz 2021-04-14 23:46:31 +03:00 committed by Andreas Kling
commit 01e1466682
Notes: sideshowbarker 2024-07-18 20:19:26 +09:00

View file

@ -9,7 +9,7 @@ jobs:
steps: steps:
- name: Wait for tests to finish - name: Wait for tests to finish
uses: IdanHo/action-wait-for-check@890bf0671eeeac09faf19f57deb4397eeccc59aa uses: IdanHo/action-wait-for-check@7b2192dd83108237d2f2e6518f6351be333a955c
id: wait-for-tests id: wait-for-tests
if: ${{ (github.event['pull_request'] && github.event['action'] == 'opened' && !(github.event['pull_request'] == 'draft')) || github.event['commits'] }} if: ${{ (github.event['pull_request'] && github.event['action'] == 'opened' && !(github.event['pull_request'] == 'draft')) || github.event['commits'] }}
with: with: