[skip ci] Skip building kernel in draft pr (#1256)

This commit is contained in:
Ylarod
2024-01-06 10:28:06 +08:00
committed by GitHub
parent e3e4d2eed4
commit fd7681c3ff
5 changed files with 5 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ jobs:
path: Image-android12*/*.img.gz
check-build-kernel:
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
uses: ./.github/workflows/gki-kernel.yml
with:
version: android12-5.10

View File

@@ -151,7 +151,7 @@ jobs:
path: Image-android13*/*.img.gz
check-build-kernel:
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
strategy:
matrix:
include:

View File

@@ -115,7 +115,7 @@ jobs:
path: Image-android14*/*.img.gz
check-build-kernel:
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
strategy:
matrix:
include:

View File

@@ -15,6 +15,7 @@ on:
jobs:
build:
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
strategy:
matrix:
arch: [x86_64]

View File

@@ -15,6 +15,7 @@ on:
jobs:
build:
if: github.event_name == 'pull_request' && !github.event.pull_request.draft
strategy:
matrix:
arch: [x86_64, arm64]