Skip to content

Commit

Permalink
QE: reduce the amount of windows e2e executions
Browse files Browse the repository at this point in the history
From now on only PRs will be executed, merges to main will not be cheked the downstream envs will ensure consistency on the main branch. The new condition also ensures PRs triggered by Dependabot will not be checked, those will be checked once they are merged to main on downstream, or if they will be re-triggered from the PR

Signed-off-by: Adrian Riobo <ariobolo@redhat.com>
  • Loading branch information
adrianriobo committed Sep 24, 2024
1 parent ec4d2b9 commit 662d582
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/windows-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:

jobs:
windows-e2e-ocp:
# https://docs.github.com/en/webhooks/webhook-events-and-payloads#workflow_run
if: |
github.event.workflow_run.conclusion == 'success' &&
env.source_event == 'pull_request' &&
github.event.workflow_run.triggering_actor != 'dependabot[bot]'
uses: crc-org/crc/.github/workflows/windows-qe-tpl.yml@main
strategy:
fail-fast: false
Expand Down

0 comments on commit 662d582

Please sign in to comment.