Remove pull_request_target trigger and condition (#7983)

This commit is contained in:
Alexey-Ayupov
2023-07-26 16:04:32 +02:00
committed by GitHub
parent 79252fad3a
commit 27d2a9eb47
6 changed files with 6 additions and 30 deletions

View File

@@ -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: