From 68b289e4ff2d77ab8d848ffcb744e21105c10562 Mon Sep 17 00:00:00 2001 From: JesusPoderoso Date: Tue, 10 Sep 2024 15:45:17 +0200 Subject: [PATCH 1/2] Refs #21479: Include labeling check Signed-off-by: JesusPoderoso --- .github/workflows/mac-ci.yml | 6 ++++++ .github/workflows/nightly-mac-ci.yml | 3 +++ .github/workflows/nightly-sanitizers-ci.yml | 3 +++ .github/workflows/nightly-ubuntu-ci.yml | 3 +++ .github/workflows/nightly-windows-ci.yml | 3 +++ .github/workflows/reusable-mac-ci.yml | 7 ++++++- .github/workflows/reusable-sanitizers-ci.yml | 9 +++++++-- .github/workflows/reusable-ubuntu-ci.yml | 7 ++++++- .github/workflows/reusable-windows-ci.yml | 7 ++++++- .github/workflows/sanitizers-ci.yml | 6 ++++++ .github/workflows/ubuntu-ci.yml | 6 ++++++ .github/workflows/weekly-mac-ci.yml | 1 + .github/workflows/weekly-sanitizers-ci.yml | 1 + .github/workflows/weekly-ubuntu-ci.yml | 2 ++ .github/workflows/weekly-windows-ci.yml | 1 + .github/workflows/windows-ci.yml | 6 ++++++ 16 files changed, 66 insertions(+), 5 deletions(-) diff --git a/.github/workflows/mac-ci.yml b/.github/workflows/mac-ci.yml index 21cf3f2652f..93bf464d1fd 100644 --- a/.github/workflows/mac-ci.yml +++ b/.github/workflows/mac-ci.yml @@ -28,6 +28,11 @@ 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: @@ -55,3 +60,4 @@ 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 }} diff --git a/.github/workflows/nightly-mac-ci.yml b/.github/workflows/nightly-mac-ci.yml index 74eaad24d64..dbd00595a8a 100644 --- a/.github/workflows/nightly-mac-ci.yml +++ b/.github/workflows/nightly-mac-ci.yml @@ -20,6 +20,7 @@ jobs: ctest-args: "-LE xfail" fastdds-branch: 'master' use-ccache: false + add-label: false nightly-mac-ci-2_14_x: strategy: @@ -35,6 +36,7 @@ jobs: ctest-args: "-LE xfail" fastdds-branch: '2.14.x' use-ccache: false + add-label: false nightly-mac-ci-2_10_x: strategy: @@ -50,4 +52,5 @@ jobs: ctest-args: "-LE xfail" fastdds-branch: '2.10.x' use-ccache: false + add-label: false diff --git a/.github/workflows/nightly-sanitizers-ci.yml b/.github/workflows/nightly-sanitizers-ci.yml index 8826ac0b91f..19bb04ac3e2 100644 --- a/.github/workflows/nightly-sanitizers-ci.yml +++ b/.github/workflows/nightly-sanitizers-ci.yml @@ -19,6 +19,7 @@ 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/reusable-sanitizers-ci.yml@2.14.x @@ -33,6 +34,7 @@ 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/reusable-sanitizers-ci.yml@2.10.x @@ -47,3 +49,4 @@ jobs: ctest_args: '' fastdds_ref: '2.10.x' discovery_server_ref: 'v1.2.1' + add-label: false diff --git a/.github/workflows/nightly-ubuntu-ci.yml b/.github/workflows/nightly-ubuntu-ci.yml index e5ae53df315..493ca1e0c03 100644 --- a/.github/workflows/nightly-ubuntu-ci.yml +++ b/.github/workflows/nightly-ubuntu-ci.yml @@ -25,6 +25,7 @@ jobs: run-build: true run-tests: true use-ccache: false + add-label: false nightly-ubuntu-ci-2_14_x: strategy: @@ -45,6 +46,7 @@ jobs: run-build: true run-tests: true use-ccache: false + add-label: false nightly-ubuntu-ci-2_10_x: strategy: @@ -65,4 +67,5 @@ jobs: run-build: true run-tests: true use-ccache: false + add-label: false diff --git a/.github/workflows/nightly-windows-ci.yml b/.github/workflows/nightly-windows-ci.yml index 956f0879885..f8cb8775fcb 100644 --- a/.github/workflows/nightly-windows-ci.yml +++ b/.github/workflows/nightly-windows-ci.yml @@ -19,6 +19,7 @@ jobs: cmake-args: "-DSECURITY=${{ matrix.security }}" ctest-args: "-LE xfail" fastdds_branch: 'master' + add-label: false nightly-windows-ci-2_14_x: strategy: @@ -33,6 +34,7 @@ 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: @@ -47,4 +49,5 @@ jobs: cmake-args: "-DSECURITY=${{ matrix.security }}" ctest-args: "-LE xfail" fastdds_branch: '2.10.x' + add-label: false diff --git a/.github/workflows/reusable-mac-ci.yml b/.github/workflows/reusable-mac-ci.yml index 1dfebbd36fb..0d083ccf48d 100644 --- a/.github/workflows/reusable-mac-ci.yml +++ b/.github/workflows/reusable-mac-ci.yml @@ -28,6 +28,11 @@ 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: @@ -49,7 +54,7 @@ jobs: - 'RelWithDebInfo' steps: - name: Add ci-pending label if PR - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }} uses: eProsima/eProsima-CI/external/add_labels@v0 with: labels: ci-pending diff --git a/.github/workflows/reusable-sanitizers-ci.yml b/.github/workflows/reusable-sanitizers-ci.yml index 226795f7354..f27b94f6113 100644 --- a/.github/workflows/reusable-sanitizers-ci.yml +++ b/.github/workflows/reusable-sanitizers-ci.yml @@ -45,6 +45,11 @@ 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: @@ -56,7 +61,7 @@ jobs: runs-on: ubuntu-22.04 steps: - name: Add ci-pending label if PR - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }} uses: eProsima/eProsima-CI/external/add_labels@v0 with: labels: ci-pending @@ -343,7 +348,7 @@ jobs: CXX: g++-12 steps: - name: Add ci-pending label if PR - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }} uses: eProsima/eProsima-CI/external/add_labels@v0 with: labels: ci-pending diff --git a/.github/workflows/reusable-ubuntu-ci.yml b/.github/workflows/reusable-ubuntu-ci.yml index 1c44e356965..a69ec039ea6 100644 --- a/.github/workflows/reusable-ubuntu-ci.yml +++ b/.github/workflows/reusable-ubuntu-ci.yml @@ -52,6 +52,11 @@ on: required: false type: boolean default: false + add-label: + description: 'Add the CI-PENDING label to the PR' + required: false + type: boolean + default: true env: security-cmake-flag: ${{ inputs.security == true && '-DSECURITY=ON' || '-DSECURITY=OFF' }} @@ -71,7 +76,7 @@ jobs: - 'RelWithDebInfo' steps: - name: Add ci-pending label if PR - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }} uses: eProsima/eProsima-CI/external/add_labels@v0 with: labels: ci-pending diff --git a/.github/workflows/reusable-windows-ci.yml b/.github/workflows/reusable-windows-ci.yml index f7f9bfe0fe3..957349c7bf1 100644 --- a/.github/workflows/reusable-windows-ci.yml +++ b/.github/workflows/reusable-windows-ci.yml @@ -23,6 +23,11 @@ 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: @@ -40,7 +45,7 @@ jobs: - 'v142' steps: - name: Add ci-pending label if PR - if: ${{ github.event_name == 'pull_request' }} + if: ${{ github.event_name == 'pull_request' && inputs.add-label == true }} uses: eProsima/eProsima-CI/external/add_labels@v0 with: labels: ci-pending diff --git a/.github/workflows/sanitizers-ci.yml b/.github/workflows/sanitizers-ci.yml index e4ec25ec298..5e464ad3203 100644 --- a/.github/workflows/sanitizers-ci.yml +++ b/.github/workflows/sanitizers-ci.yml @@ -43,6 +43,11 @@ 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: @@ -75,3 +80,4 @@ 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 }} diff --git a/.github/workflows/ubuntu-ci.yml b/.github/workflows/ubuntu-ci.yml index a2601850577..c55eaeaa2b3 100644 --- a/.github/workflows/ubuntu-ci.yml +++ b/.github/workflows/ubuntu-ci.yml @@ -38,6 +38,11 @@ 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: @@ -69,3 +74,4 @@ jobs: run-build: ${{ !(github.event_name == 'pull_request') || !contains(github.event.pull_request.labels.*.name, 'skip-ci') }} run-tests: ${{ ((inputs.run-tests == true) && true) || (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'no-test')) }} 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 }} diff --git a/.github/workflows/weekly-mac-ci.yml b/.github/workflows/weekly-mac-ci.yml index 3c244ee0669..b880754a20e 100644 --- a/.github/workflows/weekly-mac-ci.yml +++ b/.github/workflows/weekly-mac-ci.yml @@ -21,3 +21,4 @@ jobs: ctest-args: "-LE xfail" fastdds-branch: '2.6.x' use-ccache: false + add-label: false diff --git a/.github/workflows/weekly-sanitizers-ci.yml b/.github/workflows/weekly-sanitizers-ci.yml index b85ae85f31c..eb406c8c6ad 100644 --- a/.github/workflows/weekly-sanitizers-ci.yml +++ b/.github/workflows/weekly-sanitizers-ci.yml @@ -19,3 +19,4 @@ jobs: ctest_args: '' fastdds_ref: '2.6.x' discovery_server_ref: 'v1.2.1' + add-label: false diff --git a/.github/workflows/weekly-ubuntu-ci.yml b/.github/workflows/weekly-ubuntu-ci.yml index c742836d246..afdb1bbd2ba 100644 --- a/.github/workflows/weekly-ubuntu-ci.yml +++ b/.github/workflows/weekly-ubuntu-ci.yml @@ -28,6 +28,7 @@ jobs: run-build: true run-tests: true use-ccache: false + add-label: false weekly-ubuntu-ci-2_6_x: strategy: @@ -46,3 +47,4 @@ jobs: run-build: true run-tests: true use-ccache: false + add-label: false diff --git a/.github/workflows/weekly-windows-ci.yml b/.github/workflows/weekly-windows-ci.yml index ae0124533a5..c56b2f936a1 100644 --- a/.github/workflows/weekly-windows-ci.yml +++ b/.github/workflows/weekly-windows-ci.yml @@ -20,3 +20,4 @@ jobs: cmake-args: "-DSECURITY=${{ matrix.security }}" ctest-args: "-LE xfail" fastdds_branch: '2.6.x' + add-label: false diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index d33b39bb693..e690f5d007d 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -23,6 +23,11 @@ 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: @@ -49,3 +54,4 @@ 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 }} From e924aaac9831055b3dc82e2728a7cc982281e53f Mon Sep 17 00:00:00 2001 From: JesusPoderoso Date: Wed, 18 Sep 2024 10:25:27 +0200 Subject: [PATCH 2/2] Refs #21479: Keep 'Add label' job only in ubuntu workflow Signed-off-by: JesusPoderoso --- .github/workflows/mac-ci.yml | 6 ------ .github/workflows/nightly-mac-ci.yml | 3 --- .github/workflows/nightly-sanitizers-ci.yml | 3 --- .github/workflows/nightly-windows-ci.yml | 3 --- .github/workflows/reusable-mac-ci.yml | 13 ------------ .github/workflows/reusable-sanitizers-ci.yml | 21 -------------------- .github/workflows/reusable-windows-ci.yml | 13 ------------ .github/workflows/sanitizers-ci.yml | 6 ------ .github/workflows/weekly-mac-ci.yml | 1 - .github/workflows/weekly-sanitizers-ci.yml | 1 - .github/workflows/weekly-windows-ci.yml | 1 - .github/workflows/windows-ci.yml | 6 ------ 12 files changed, 77 deletions(-) diff --git a/.github/workflows/mac-ci.yml b/.github/workflows/mac-ci.yml index 93bf464d1fd..21cf3f2652f 100644 --- a/.github/workflows/mac-ci.yml +++ b/.github/workflows/mac-ci.yml @@ -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: @@ -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 }} diff --git a/.github/workflows/nightly-mac-ci.yml b/.github/workflows/nightly-mac-ci.yml index dbd00595a8a..74eaad24d64 100644 --- a/.github/workflows/nightly-mac-ci.yml +++ b/.github/workflows/nightly-mac-ci.yml @@ -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: @@ -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: @@ -52,5 +50,4 @@ jobs: ctest-args: "-LE xfail" fastdds-branch: '2.10.x' use-ccache: false - add-label: false diff --git a/.github/workflows/nightly-sanitizers-ci.yml b/.github/workflows/nightly-sanitizers-ci.yml index 19bb04ac3e2..8826ac0b91f 100644 --- a/.github/workflows/nightly-sanitizers-ci.yml +++ b/.github/workflows/nightly-sanitizers-ci.yml @@ -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/reusable-sanitizers-ci.yml@2.14.x @@ -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/reusable-sanitizers-ci.yml@2.10.x @@ -49,4 +47,3 @@ jobs: ctest_args: '' fastdds_ref: '2.10.x' discovery_server_ref: 'v1.2.1' - add-label: false diff --git a/.github/workflows/nightly-windows-ci.yml b/.github/workflows/nightly-windows-ci.yml index f8cb8775fcb..956f0879885 100644 --- a/.github/workflows/nightly-windows-ci.yml +++ b/.github/workflows/nightly-windows-ci.yml @@ -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: @@ -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: @@ -49,5 +47,4 @@ jobs: cmake-args: "-DSECURITY=${{ matrix.security }}" ctest-args: "-LE xfail" fastdds_branch: '2.10.x' - add-label: false diff --git a/.github/workflows/reusable-mac-ci.yml b/.github/workflows/reusable-mac-ci.yml index 0d083ccf48d..f4d783210ae 100644 --- a/.github/workflows/reusable-mac-ci.yml +++ b/.github/workflows/reusable-mac-ci.yml @@ -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: @@ -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: diff --git a/.github/workflows/reusable-sanitizers-ci.yml b/.github/workflows/reusable-sanitizers-ci.yml index f27b94f6113..a0df722a7fc 100644 --- a/.github/workflows/reusable-sanitizers-ci.yml +++ b/.github/workflows/reusable-sanitizers-ci.yml @@ -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: @@ -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: @@ -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: diff --git a/.github/workflows/reusable-windows-ci.yml b/.github/workflows/reusable-windows-ci.yml index 957349c7bf1..934049673f0 100644 --- a/.github/workflows/reusable-windows-ci.yml +++ b/.github/workflows/reusable-windows-ci.yml @@ -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: @@ -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: diff --git a/.github/workflows/sanitizers-ci.yml b/.github/workflows/sanitizers-ci.yml index 5e464ad3203..e4ec25ec298 100644 --- a/.github/workflows/sanitizers-ci.yml +++ b/.github/workflows/sanitizers-ci.yml @@ -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: @@ -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 }} diff --git a/.github/workflows/weekly-mac-ci.yml b/.github/workflows/weekly-mac-ci.yml index b880754a20e..3c244ee0669 100644 --- a/.github/workflows/weekly-mac-ci.yml +++ b/.github/workflows/weekly-mac-ci.yml @@ -21,4 +21,3 @@ jobs: ctest-args: "-LE xfail" fastdds-branch: '2.6.x' use-ccache: false - add-label: false diff --git a/.github/workflows/weekly-sanitizers-ci.yml b/.github/workflows/weekly-sanitizers-ci.yml index eb406c8c6ad..b85ae85f31c 100644 --- a/.github/workflows/weekly-sanitizers-ci.yml +++ b/.github/workflows/weekly-sanitizers-ci.yml @@ -19,4 +19,3 @@ jobs: ctest_args: '' fastdds_ref: '2.6.x' discovery_server_ref: 'v1.2.1' - add-label: false diff --git a/.github/workflows/weekly-windows-ci.yml b/.github/workflows/weekly-windows-ci.yml index c56b2f936a1..ae0124533a5 100644 --- a/.github/workflows/weekly-windows-ci.yml +++ b/.github/workflows/weekly-windows-ci.yml @@ -20,4 +20,3 @@ jobs: cmake-args: "-DSECURITY=${{ matrix.security }}" ctest-args: "-LE xfail" fastdds_branch: '2.6.x' - add-label: false diff --git a/.github/workflows/windows-ci.yml b/.github/workflows/windows-ci.yml index e690f5d007d..d33b39bb693 100644 --- a/.github/workflows/windows-ci.yml +++ b/.github/workflows/windows-ci.yml @@ -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: @@ -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 }}