Skip CI for draft PRs (#2970)

This commit is contained in:
salman
2025-07-24 09:11:46 +01:00
committed by GitHub
parent b34c3371ed
commit 1407aac779
5 changed files with 14 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ concurrency:
jobs:
test-axolotl-multigpu:
if: ${{ ! contains(github.event.commits[0].message, '[skip e2e]') && github.repository_owner == 'axolotl-ai-cloud' }}
if: ${{ ! contains(github.event.commits[0].message, '[skip e2e]') && github.repository_owner == 'axolotl-ai-cloud' && (github.event_name != 'pull_request' || !github.event.pull_request.draft) }}
strategy:
fail-fast: false
matrix: