Skip to content

Commit e924aaa

Browse files
committed
Refs #21479: Keep 'Add label' job only in ubuntu workflow
Signed-off-by: JesusPoderoso <[email protected]>
1 parent 68b289e commit e924aaa

12 files changed

+0
-77
lines changed

.github/workflows/mac-ci.yml

-6
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ on:
2828
required: false
2929
type: boolean
3030
default: false
31-
add-label:
32-
description: 'Add a label to the PR'
33-
required: false
34-
type: boolean
35-
default: false
3631

3732
pull_request:
3833
types:
@@ -60,4 +55,3 @@ jobs:
6055
ctest-args: ${{ inputs.ctest-args }}
6156
fastdds-branch: ${{ inputs.fastdds_branch || github.ref || 'master' }}
6257
use-ccache: ${{ ((inputs.use-ccache == true) && true) || false }}
63-
add-label: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.repository) && true || false }}

.github/workflows/nightly-mac-ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ jobs:
2020
ctest-args: "-LE xfail"
2121
fastdds-branch: 'master'
2222
use-ccache: false
23-
add-label: false
2423

2524
nightly-mac-ci-2_14_x:
2625
strategy:
@@ -36,7 +35,6 @@ jobs:
3635
ctest-args: "-LE xfail"
3736
fastdds-branch: '2.14.x'
3837
use-ccache: false
39-
add-label: false
4038

4139
nightly-mac-ci-2_10_x:
4240
strategy:
@@ -52,5 +50,4 @@ jobs:
5250
ctest-args: "-LE xfail"
5351
fastdds-branch: '2.10.x'
5452
use-ccache: false
55-
add-label: false
5653

.github/workflows/nightly-sanitizers-ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
ctest_args: ''
2020
fastdds_ref: 'master'
2121
discovery_server_ref: 'master'
22-
add-label: false
2322

2423
nightly-sanitizers-ci-2_14_x:
2524
uses: eProsima/Fast-DDS/.github/workflows/[email protected]
@@ -34,7 +33,6 @@ jobs:
3433
ctest_args: ''
3534
fastdds_ref: '2.14.x'
3635
discovery_server_ref: 'v1.2.2'
37-
add-label: false
3836

3937
nightly-sanitizers-ci-2_10_x:
4038
uses: eProsima/Fast-DDS/.github/workflows/[email protected]
@@ -49,4 +47,3 @@ jobs:
4947
ctest_args: ''
5048
fastdds_ref: '2.10.x'
5149
discovery_server_ref: 'v1.2.1'
52-
add-label: false

.github/workflows/nightly-windows-ci.yml

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
cmake-args: "-DSECURITY=${{ matrix.security }}"
2020
ctest-args: "-LE xfail"
2121
fastdds_branch: 'master'
22-
add-label: false
2322

2423
nightly-windows-ci-2_14_x:
2524
strategy:
@@ -34,7 +33,6 @@ jobs:
3433
cmake-args: "-DSECURITY=${{ matrix.security }}"
3534
ctest-args: "-LE xfail"
3635
fastdds_branch: '2.14.x'
37-
add-label: false
3836

3937
nightly-windows-ci-2_10_x:
4038
strategy:
@@ -49,5 +47,4 @@ jobs:
4947
cmake-args: "-DSECURITY=${{ matrix.security }}"
5048
ctest-args: "-LE xfail"
5149
fastdds_branch: '2.10.x'
52-
add-label: false
5350

.github/workflows/reusable-mac-ci.yml

-13
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ on:
2828
required: false
2929
type: boolean
3030
default: false
31-
add-label:
32-
description: 'Add the CI-PENDING label to the PR'
33-
required: false
34-
type: boolean
35-
default: true
3631

3732
defaults:
3833
run:
@@ -53,14 +48,6 @@ jobs:
5348
cmake-build-type:
5449
- 'RelWithDebInfo'
5550
steps:
56-
- name: Add ci-pending label if PR
57-
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
58-
uses: eProsima/eProsima-CI/external/add_labels@v0
59-
with:
60-
labels: ci-pending
61-
number: ${{ github.event.number }}
62-
repo: eProsima/Fast-DDS
63-
6451
- name: Sync eProsima/Fast-DDS repository
6552
uses: eProsima/eProsima-CI/external/checkout@v0
6653
with:

.github/workflows/reusable-sanitizers-ci.yml

-21
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,6 @@ on:
4545
Required only if the Discovery Server job is requested
4646
required: false
4747
type: string
48-
add-label:
49-
description: 'Add the CI-PENDING label to the PR'
50-
required: false
51-
type: boolean
52-
default: true
5348

5449
defaults:
5550
run:
@@ -60,14 +55,6 @@ jobs:
6055
if: ${{ inputs.run_asan_fastdds == true }}
6156
runs-on: ubuntu-22.04
6257
steps:
63-
- name: Add ci-pending label if PR
64-
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
65-
uses: eProsima/eProsima-CI/external/add_labels@v0
66-
with:
67-
labels: ci-pending
68-
number: ${{ github.event.number }}
69-
repo: eProsima/Fast-DDS
70-
7158
- name: Sync eProsima/Fast-DDS repository
7259
uses: eProsima/eProsima-CI/external/checkout@v0
7360
with:
@@ -347,14 +334,6 @@ jobs:
347334
CC: gcc-12
348335
CXX: g++-12
349336
steps:
350-
- name: Add ci-pending label if PR
351-
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
352-
uses: eProsima/eProsima-CI/external/add_labels@v0
353-
with:
354-
labels: ci-pending
355-
number: ${{ github.event.number }}
356-
repo: eProsima/Fast-DDS
357-
358337
- name: Sync eProsima/Fast-DDS repository
359338
uses: eProsima/eProsima-CI/external/checkout@v0
360339
with:

.github/workflows/reusable-windows-ci.yml

-13
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ on:
2323
description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)'
2424
required: true
2525
type: string
26-
add-label:
27-
description: 'Add the CI-PENDING label to the PR'
28-
required: false
29-
type: boolean
30-
default: true
3126

3227
defaults:
3328
run:
@@ -44,14 +39,6 @@ jobs:
4439
vs-toolset:
4540
- 'v142'
4641
steps:
47-
- name: Add ci-pending label if PR
48-
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
49-
uses: eProsima/eProsima-CI/external/add_labels@v0
50-
with:
51-
labels: ci-pending
52-
number: ${{ github.event.number }}
53-
repo: eProsima/Fast-DDS
54-
5542
- name: Sync eProsima/Fast-DDS repository
5643
uses: eProsima/eProsima-CI/external/checkout@v0
5744
with:

.github/workflows/sanitizers-ci.yml

-6
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ on:
4343
Branch or tag of Discovery Server repository (https://github.com/eProsima/Discovery-Server)
4444
Required only if the Discovery Server job is requested
4545
required: false
46-
add-label:
47-
description: 'Add a label to the PR'
48-
required: false
49-
type: boolean
50-
default: false
5146

5247
pull_request:
5348
types:
@@ -80,4 +75,3 @@ jobs:
8075
ctest_args: ${{ inputs.ctest_args || '' }}
8176
fastdds_ref: ${{ inputs.fastdds_ref || github.ref || 'master' }}
8277
discovery_server_ref: ${{ inputs.discovery_server_ref || 'master' }}
83-
add-label: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.repository) && true || false }}

.github/workflows/weekly-mac-ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,3 @@ jobs:
2121
ctest-args: "-LE xfail"
2222
fastdds-branch: '2.6.x'
2323
use-ccache: false
24-
add-label: false

.github/workflows/weekly-sanitizers-ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,3 @@ jobs:
1919
ctest_args: ''
2020
fastdds_ref: '2.6.x'
2121
discovery_server_ref: 'v1.2.1'
22-
add-label: false

.github/workflows/weekly-windows-ci.yml

-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,3 @@ jobs:
2020
cmake-args: "-DSECURITY=${{ matrix.security }}"
2121
ctest-args: "-LE xfail"
2222
fastdds_branch: '2.6.x'
23-
add-label: false

.github/workflows/windows-ci.yml

-6
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@ on:
2323
description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)'
2424
type: string
2525
required: true
26-
add-label:
27-
description: 'Add a label to the PR'
28-
required: false
29-
type: boolean
30-
default: false
3126

3227
pull_request:
3328
types:
@@ -54,4 +49,3 @@ jobs:
5449
cmake-args: '-DSECURITY=ON ${{ inputs.cmake-args }}'
5550
ctest-args: ${{ inputs.ctest-args }}
5651
fastdds_branch: ${{ inputs.fastdds_branch || github.ref || 'master' }}
57-
add-label: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.repository) && true || false }}

0 commit comments

Comments
 (0)