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 00023273c54..82d1937cb51 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 dd4352f3a73..1a5cba29b1e 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 92b01852904..7cff0c81572 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 a29aaab64da..7aebec29ff2 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 30886207e5f..452a67e0d54 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 990f943a4c2..580ffd4a600 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 cb370a5e210..369efbe2db1 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 2ae41d6e5cf..04e2f69ce8a 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 e1bd34fb19c..037e70747d7 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 35718faa632..1c07f61f97f 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 e994cd19eff..5fea1a4213e 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 a742eb2f08e..0bb6c4a111f 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 07416165668..80f8203bacb 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 8cb75aab2a6..2ed47815330 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 02584ac0d46..3ec1ec50dc8 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 f9f1846b113..0ebaa1c4ecd 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 ffd7c9ddc1c..c31c0b1b7c9 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/**'