From e05f7d8d85285cf40aa8d362429d1787bdd5f8c9 Mon Sep 17 00:00:00 2001 From: Ramon Roche Date: Thu, 12 Jun 2025 11:37:27 -0700 Subject: [PATCH] ci: fix wildcard branch detection Signed-off-by: Ramon Roche --- .github/workflows/build_all_targets.yml | 4 +--- .github/workflows/checks.yml | 2 +- .github/workflows/clang-tidy.yml | 2 +- .github/workflows/compile_macos.yml | 2 +- .github/workflows/compile_ubuntu.yml | 2 +- .github/workflows/dev_container.yml | 2 +- .github/workflows/docs_deploy.yml | 4 ++-- .github/workflows/ekf_functional_change_indicator.yml | 2 +- .github/workflows/failsafe_sim.yml | 2 +- .github/workflows/flash_analysis.yml | 2 +- .github/workflows/mavros_mission_tests.yml | 2 +- .github/workflows/mavros_offboard_tests.yml | 2 +- .github/workflows/nuttx_env_config.yml | 2 +- .github/workflows/python_checks.yml | 2 +- .github/workflows/ros_integration_tests.yml | 2 +- .github/workflows/ros_translation_node.yml | 2 +- .github/workflows/sitl_tests.yml | 2 +- 17 files changed, 18 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build_all_targets.yml b/.github/workflows/build_all_targets.yml index 00023273c5..82d1937cb5 100644 --- a/.github/workflows/build_all_targets.yml +++ b/.github/workflows/build_all_targets.yml @@ -16,13 +16,11 @@ on: - 'release/**' paths-ignore: - 'docs/**' - - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - - '.github/**' jobs: group_targets: diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index dd4352f3a7..1a5cba29b1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 92b0185290..7cff0c8157 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/compile_macos.yml b/.github/workflows/compile_macos.yml index a29aaab64d..7aebec29ff 100644 --- a/.github/workflows/compile_macos.yml +++ b/.github/workflows/compile_macos.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/compile_ubuntu.yml b/.github/workflows/compile_ubuntu.yml index 30886207e5..452a67e0d5 100644 --- a/.github/workflows/compile_ubuntu.yml +++ b/.github/workflows/compile_ubuntu.yml @@ -12,7 +12,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/dev_container.yml b/.github/workflows/dev_container.yml index 990f943a4c..580ffd4a60 100644 --- a/.github/workflows/dev_container.yml +++ b/.github/workflows/dev_container.yml @@ -15,7 +15,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/docs_deploy.yml b/.github/workflows/docs_deploy.yml index cb370a5e21..369efbe2db 100644 --- a/.github/workflows/docs_deploy.yml +++ b/.github/workflows/docs_deploy.yml @@ -9,7 +9,7 @@ on: - 'docs/en/**' pull_request: branches: - - '*' + - '**' paths: - 'docs/en/**' @@ -80,7 +80,7 @@ jobs: - name: Deploy run: | git clone --single-branch --branch main --depth 1 https://${{ secrets.PX4BUILTBOT_PERSONAL_ACCESS_TOKEN }}@github.com/PX4/docs.px4.io.git - # make it an orphan branch + # make it an orphan branch cd docs.px4.io CURRENT_DATETIME=$(date +'%Y%m%d_%H_%M') git checkout --orphan "${CURRENT_DATETIME}_main" diff --git a/.github/workflows/ekf_functional_change_indicator.yml b/.github/workflows/ekf_functional_change_indicator.yml index 2ae41d6e5c..04e2f69ce8 100644 --- a/.github/workflows/ekf_functional_change_indicator.yml +++ b/.github/workflows/ekf_functional_change_indicator.yml @@ -3,7 +3,7 @@ name: EKF Change Indicator on: pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/failsafe_sim.yml b/.github/workflows/failsafe_sim.yml index e1bd34fb19..037e70747d 100644 --- a/.github/workflows/failsafe_sim.yml +++ b/.github/workflows/failsafe_sim.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/flash_analysis.yml b/.github/workflows/flash_analysis.yml index 35718faa63..1c07f61f97 100644 --- a/.github/workflows/flash_analysis.yml +++ b/.github/workflows/flash_analysis.yml @@ -14,7 +14,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/mavros_mission_tests.yml b/.github/workflows/mavros_mission_tests.yml index e994cd19ef..5fea1a4213 100644 --- a/.github/workflows/mavros_mission_tests.yml +++ b/.github/workflows/mavros_mission_tests.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/mavros_offboard_tests.yml b/.github/workflows/mavros_offboard_tests.yml index a742eb2f08..0bb6c4a111 100644 --- a/.github/workflows/mavros_offboard_tests.yml +++ b/.github/workflows/mavros_offboard_tests.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/nuttx_env_config.yml b/.github/workflows/nuttx_env_config.yml index 0741616566..80f8203bac 100644 --- a/.github/workflows/nuttx_env_config.yml +++ b/.github/workflows/nuttx_env_config.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/python_checks.yml b/.github/workflows/python_checks.yml index 8cb75aab2a..2ed4781533 100644 --- a/.github/workflows/python_checks.yml +++ b/.github/workflows/python_checks.yml @@ -9,7 +9,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/ros_integration_tests.yml b/.github/workflows/ros_integration_tests.yml index 02584ac0d4..3ec1ec50dc 100644 --- a/.github/workflows/ros_integration_tests.yml +++ b/.github/workflows/ros_integration_tests.yml @@ -14,7 +14,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/ros_translation_node.yml b/.github/workflows/ros_translation_node.yml index f9f1846b11..0ebaa1c4ec 100644 --- a/.github/workflows/ros_translation_node.yml +++ b/.github/workflows/ros_translation_node.yml @@ -8,7 +8,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**' diff --git a/.github/workflows/sitl_tests.yml b/.github/workflows/sitl_tests.yml index ffd7c9ddc1..c31c0b1b7c 100644 --- a/.github/workflows/sitl_tests.yml +++ b/.github/workflows/sitl_tests.yml @@ -14,7 +14,7 @@ on: - '.github/**' pull_request: branches: - - '*' + - '**' paths-ignore: - 'docs/**' - '.github/**'