Skip to content

Commit

Permalink
Refs #21479: Keep 'Add label' job only in ubuntu workflow
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed Sep 18, 2024
1 parent 68b289e commit e924aaa
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 77 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ on:
required: false
type: boolean
default: false
add-label:
description: 'Add a label to the PR'
required: false
type: boolean
default: false

pull_request:
types:
Expand Down Expand Up @@ -60,4 +55,3 @@ jobs:
ctest-args: ${{ inputs.ctest-args }}
fastdds-branch: ${{ inputs.fastdds_branch || github.ref || 'master' }}
use-ccache: ${{ ((inputs.use-ccache == true) && true) || false }}
add-label: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.repository) && true || false }}
3 changes: 0 additions & 3 deletions .github/workflows/nightly-mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ jobs:
ctest-args: "-LE xfail"
fastdds-branch: 'master'
use-ccache: false
add-label: false

nightly-mac-ci-2_14_x:
strategy:
Expand All @@ -36,7 +35,6 @@ jobs:
ctest-args: "-LE xfail"
fastdds-branch: '2.14.x'
use-ccache: false
add-label: false

nightly-mac-ci-2_10_x:
strategy:
Expand All @@ -52,5 +50,4 @@ jobs:
ctest-args: "-LE xfail"
fastdds-branch: '2.10.x'
use-ccache: false
add-label: false

3 changes: 0 additions & 3 deletions .github/workflows/nightly-sanitizers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
ctest_args: ''
fastdds_ref: 'master'
discovery_server_ref: 'master'
add-label: false

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

nightly-sanitizers-ci-2_10_x:
uses: eProsima/Fast-DDS/.github/workflows/[email protected]
Expand All @@ -49,4 +47,3 @@ jobs:
ctest_args: ''
fastdds_ref: '2.10.x'
discovery_server_ref: 'v1.2.1'
add-label: false
3 changes: 0 additions & 3 deletions .github/workflows/nightly-windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
cmake-args: "-DSECURITY=${{ matrix.security }}"
ctest-args: "-LE xfail"
fastdds_branch: 'master'
add-label: false

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

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

13 changes: 0 additions & 13 deletions .github/workflows/reusable-mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ on:
required: false
type: boolean
default: false
add-label:
description: 'Add the CI-PENDING label to the PR'
required: false
type: boolean
default: true

defaults:
run:
Expand All @@ -53,14 +48,6 @@ jobs:
cmake-build-type:
- 'RelWithDebInfo'
steps:
- name: Add ci-pending label if PR
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
uses: eProsima/eProsima-CI/external/add_labels@v0
with:
labels: ci-pending
number: ${{ github.event.number }}
repo: eProsima/Fast-DDS

- name: Sync eProsima/Fast-DDS repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
Expand Down
21 changes: 0 additions & 21 deletions .github/workflows/reusable-sanitizers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ on:
Required only if the Discovery Server job is requested
required: false
type: string
add-label:
description: 'Add the CI-PENDING label to the PR'
required: false
type: boolean
default: true

defaults:
run:
Expand All @@ -60,14 +55,6 @@ jobs:
if: ${{ inputs.run_asan_fastdds == true }}
runs-on: ubuntu-22.04
steps:
- name: Add ci-pending label if PR
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
uses: eProsima/eProsima-CI/external/add_labels@v0
with:
labels: ci-pending
number: ${{ github.event.number }}
repo: eProsima/Fast-DDS

- name: Sync eProsima/Fast-DDS repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
Expand Down Expand Up @@ -347,14 +334,6 @@ jobs:
CC: gcc-12
CXX: g++-12
steps:
- name: Add ci-pending label if PR
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
uses: eProsima/eProsima-CI/external/add_labels@v0
with:
labels: ci-pending
number: ${{ github.event.number }}
repo: eProsima/Fast-DDS

- name: Sync eProsima/Fast-DDS repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/reusable-windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ on:
description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)'
required: true
type: string
add-label:
description: 'Add the CI-PENDING label to the PR'
required: false
type: boolean
default: true

defaults:
run:
Expand All @@ -44,14 +39,6 @@ jobs:
vs-toolset:
- 'v142'
steps:
- name: Add ci-pending label if PR
if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }}
uses: eProsima/eProsima-CI/external/add_labels@v0
with:
labels: ci-pending
number: ${{ github.event.number }}
repo: eProsima/Fast-DDS

- name: Sync eProsima/Fast-DDS repository
uses: eProsima/eProsima-CI/external/checkout@v0
with:
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/sanitizers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ on:
Branch or tag of Discovery Server repository (https://github.com/eProsima/Discovery-Server)
Required only if the Discovery Server job is requested
required: false
add-label:
description: 'Add a label to the PR'
required: false
type: boolean
default: false

pull_request:
types:
Expand Down Expand Up @@ -80,4 +75,3 @@ jobs:
ctest_args: ${{ inputs.ctest_args || '' }}
fastdds_ref: ${{ inputs.fastdds_ref || github.ref || 'master' }}
discovery_server_ref: ${{ inputs.discovery_server_ref || 'master' }}
add-label: ${{ (github.event_name == 'pull_request') && (github.event.pull_request.head.repo.full_name == github.repository) && true || false }}
1 change: 0 additions & 1 deletion .github/workflows/weekly-mac-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,3 @@ jobs:
ctest-args: "-LE xfail"
fastdds-branch: '2.6.x'
use-ccache: false
add-label: false
1 change: 0 additions & 1 deletion .github/workflows/weekly-sanitizers-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ jobs:
ctest_args: ''
fastdds_ref: '2.6.x'
discovery_server_ref: 'v1.2.1'
add-label: false
1 change: 0 additions & 1 deletion .github/workflows/weekly-windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,3 @@ jobs:
cmake-args: "-DSECURITY=${{ matrix.security }}"
ctest-args: "-LE xfail"
fastdds_branch: '2.6.x'
add-label: false
6 changes: 0 additions & 6 deletions .github/workflows/windows-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ on:
description: 'Branch or tag of Fast DDS repository (https://github.com/eProsima/Fast-DDS)'
type: string
required: true
add-label:
description: 'Add a label to the PR'
required: false
type: boolean
default: false

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

0 comments on commit e924aaa

Please sign in to comment.