mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 16:53:21 +08:00
use pull_request to trigger ci runs
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -15,11 +15,12 @@ on:
|
||||
tag:
|
||||
description: "The tag to create (optional)"
|
||||
required: false
|
||||
pull_request_target:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- synchronize
|
||||
- ready_for_review
|
||||
paths-ignore:
|
||||
- "**.md"
|
||||
- "**.yml"
|
||||
@@ -143,7 +144,7 @@ jobs:
|
||||
github.event.review.state == 'approved'
|
||||
) ||
|
||||
github.event_name == 'workflow_dispatch' ||
|
||||
github.event_name == 'pull_request_target' ||
|
||||
github.event_name == 'pull_request' ||
|
||||
(
|
||||
contains('
|
||||
refs/heads/master
|
||||
|
||||
Reference in New Issue
Block a user