mirror of
https://github.com/actions/runner-images.git
synced 2025-12-27 03:47:40 +08:00
Remove pull_request_target trigger and condition (#7983)
This commit is contained in:
6
.github/workflows/macos11.yml
vendored
6
.github/workflows/macos11.yml
vendored
@@ -8,14 +8,10 @@ on:
|
||||
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||
description: 'Commit hash'
|
||||
required: false
|
||||
pull_request_target:
|
||||
types: labeled
|
||||
paths:
|
||||
- 'images/macos/**'
|
||||
|
||||
jobs:
|
||||
macOS_11:
|
||||
if: contains(github.event.pull_request.labels.*.name, 'CI macos-all') || contains(github.event.pull_request.labels.*.name, 'CI macos-11') || (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule')
|
||||
if: (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule')
|
||||
name: macOS-11_unstable.${{ github.run_id }}.${{ github.run_attempt }}
|
||||
uses: ./.github/workflows/macos-generation.yml
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user