mirror of
https://github.com/actions/runner-images.git
synced 2025-12-26 19:38:57 +08:00
Remove pull_request_target trigger and condition (#7983)
This commit is contained in:
6
.github/workflows/windows2019.yml
vendored
6
.github/workflows/windows2019.yml
vendored
@@ -8,14 +8,10 @@ on:
|
||||
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||
description: 'Commit hash'
|
||||
required: false
|
||||
pull_request_target:
|
||||
types: labeled
|
||||
paths:
|
||||
- 'images/win/**'
|
||||
|
||||
jobs:
|
||||
Windows_2019:
|
||||
if: contains(github.event.pull_request.labels.*.name, 'CI windows-all') || contains(github.event.pull_request.labels.*.name, 'CI windows-2019') || (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule')
|
||||
if: (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule')
|
||||
uses: ./.github/workflows/ubuntu-win-generation.yml
|
||||
with:
|
||||
image_name: 'windows2019'
|
||||
|
||||
Reference in New Issue
Block a user