From e1cf7279c589a90b436ef38c95cf33653950a50b Mon Sep 17 00:00:00 2001 From: Patrick Creighton Date: Sun, 5 Nov 2023 00:14:05 -0700 Subject: [PATCH] Don't run extract-metadata when not needed (#195) --- .github/workflows/test_definitions.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test_definitions.yml b/.github/workflows/test_definitions.yml index 9a042e75b..28536ca49 100644 --- a/.github/workflows/test_definitions.yml +++ b/.github/workflows/test_definitions.yml @@ -40,6 +40,7 @@ on: jobs: # Adapted from https://github.com/actions/toolkit/issues/1264#issuecomment-1770928498 extract-metadata: + if: inputs.ros-ci || inputs.clang-tidy runs-on: ubuntu-latest permissions: actions: read