mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00: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:
|
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||||
description: 'Commit hash'
|
description: 'Commit hash'
|
||||||
required: false
|
required: false
|
||||||
pull_request_target:
|
|
||||||
types: labeled
|
|
||||||
paths:
|
|
||||||
- 'images/macos/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
macOS_11:
|
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 }}
|
name: macOS-11_unstable.${{ github.run_id }}.${{ github.run_attempt }}
|
||||||
uses: ./.github/workflows/macos-generation.yml
|
uses: ./.github/workflows/macos-generation.yml
|
||||||
with:
|
with:
|
||||||
|
|||||||
6
.github/workflows/macos12.yml
vendored
6
.github/workflows/macos12.yml
vendored
@@ -8,14 +8,10 @@ on:
|
|||||||
CUSTOM_REPOSITORY_COMMIT_HASH:
|
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||||
description: 'Commit hash'
|
description: 'Commit hash'
|
||||||
required: false
|
required: false
|
||||||
pull_request_target:
|
|
||||||
types: labeled
|
|
||||||
paths:
|
|
||||||
- 'images/macos/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
macOS_12:
|
macOS_12:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI macos-all') || contains(github.event.pull_request.labels.*.name, 'CI macos-12') || (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule')
|
if: (github.event_name == 'workflow_dispatch') || (github.event_name == 'schedule')
|
||||||
name: macOS-12_unstable.${{ github.run_id }}.${{ github.run_attempt }}
|
name: macOS-12_unstable.${{ github.run_id }}.${{ github.run_attempt }}
|
||||||
uses: ./.github/workflows/macos-generation.yml
|
uses: ./.github/workflows/macos-generation.yml
|
||||||
with:
|
with:
|
||||||
|
|||||||
6
.github/workflows/ubuntu2004.yml
vendored
6
.github/workflows/ubuntu2004.yml
vendored
@@ -8,14 +8,10 @@ on:
|
|||||||
CUSTOM_REPOSITORY_COMMIT_HASH:
|
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||||
description: 'Commit hash'
|
description: 'Commit hash'
|
||||||
required: false
|
required: false
|
||||||
pull_request_target:
|
|
||||||
types: labeled
|
|
||||||
paths:
|
|
||||||
- 'images/linux/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Ubuntu_2004:
|
Ubuntu_2004:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2004') || (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
|
uses: ./.github/workflows/ubuntu-win-generation.yml
|
||||||
with:
|
with:
|
||||||
image_name: 'ubuntu2004'
|
image_name: 'ubuntu2004'
|
||||||
|
|||||||
6
.github/workflows/ubuntu2204.yml
vendored
6
.github/workflows/ubuntu2204.yml
vendored
@@ -8,14 +8,10 @@ on:
|
|||||||
CUSTOM_REPOSITORY_COMMIT_HASH:
|
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||||
description: 'Commit hash'
|
description: 'Commit hash'
|
||||||
required: false
|
required: false
|
||||||
pull_request_target:
|
|
||||||
types: labeled
|
|
||||||
paths:
|
|
||||||
- 'images/linux/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Ubuntu_2204:
|
Ubuntu_2204:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI ubuntu-all') || contains(github.event.pull_request.labels.*.name, 'CI ubuntu-2204') || (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
|
uses: ./.github/workflows/ubuntu-win-generation.yml
|
||||||
with:
|
with:
|
||||||
image_name: 'ubuntu2204'
|
image_name: 'ubuntu2204'
|
||||||
|
|||||||
6
.github/workflows/windows2019.yml
vendored
6
.github/workflows/windows2019.yml
vendored
@@ -8,14 +8,10 @@ on:
|
|||||||
CUSTOM_REPOSITORY_COMMIT_HASH:
|
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||||
description: 'Commit hash'
|
description: 'Commit hash'
|
||||||
required: false
|
required: false
|
||||||
pull_request_target:
|
|
||||||
types: labeled
|
|
||||||
paths:
|
|
||||||
- 'images/win/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Windows_2019:
|
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
|
uses: ./.github/workflows/ubuntu-win-generation.yml
|
||||||
with:
|
with:
|
||||||
image_name: 'windows2019'
|
image_name: 'windows2019'
|
||||||
|
|||||||
6
.github/workflows/windows2022.yml
vendored
6
.github/workflows/windows2022.yml
vendored
@@ -8,14 +8,10 @@ on:
|
|||||||
CUSTOM_REPOSITORY_COMMIT_HASH:
|
CUSTOM_REPOSITORY_COMMIT_HASH:
|
||||||
description: 'Commit hash'
|
description: 'Commit hash'
|
||||||
required: false
|
required: false
|
||||||
pull_request_target:
|
|
||||||
types: labeled
|
|
||||||
paths:
|
|
||||||
- 'images/win/**'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Windows_2022:
|
Windows_2022:
|
||||||
if: contains(github.event.pull_request.labels.*.name, 'CI windows-all') || contains(github.event.pull_request.labels.*.name, 'CI windows-2022') || (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
|
uses: ./.github/workflows/ubuntu-win-generation.yml
|
||||||
with:
|
with:
|
||||||
image_name: 'windows2022'
|
image_name: 'windows2022'
|
||||||
|
|||||||
Reference in New Issue
Block a user