mirror of
https://github.com/gradle/actions.git
synced 2025-12-08 17:15:46 +08:00
Run quick-check only if commit is NOT part of a PR
Without a mechanism to check this in the workflow trigger, we instead run the workflow but skip all jobs if the commit belongs to a PR. This effectively means that commits-without-PR will run quick-check, and commits-with-PR will run full-check.
This commit is contained in:
7
.github/workflows/ci-full-check.yml
vendored
7
.github/workflows/ci-full-check.yml
vendored
@@ -3,17 +3,10 @@ name: CI-full-check
|
||||
on:
|
||||
workflow_dispatch:
|
||||
pull_request:
|
||||
types:
|
||||
- assigned
|
||||
- review_requested
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- release/**
|
||||
paths:
|
||||
- '.github/**'
|
||||
- 'dist/**'
|
||||
- '**/action.yml'
|
||||
|
||||
jobs:
|
||||
build-distribution:
|
||||
|
||||
Reference in New Issue
Block a user