From 459a80c983ae1c1d610d0822dfd04b7398ea2f47 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Wed, 24 Jul 2024 18:40:33 -0300 Subject: [PATCH] ci: fix set-ci-condition job (#2934) * chore(ci.yml): refactor CI workflow to include a new job 'set-ci-condition' to determine if CI should run based on conditions such as pull request labels and event type * refactor: include new job 'set-ci-condition' in CI workflow to determine if CI should run based on conditions --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 256df594fd..4e213d2390 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,9 @@ jobs: runs-on: ubuntu-latest outputs: should-run-ci: ${{ (contains( github.event.pull_request.labels.*.name, 'lgtm') && github.event.pull_request.draft == false) || (github.event_name == 'workflow_dispatch' || github.event_name == 'workflow_call') }} + steps: + # Do anything just to make the job run + - run: echo "Set CI Condition" path-filter: needs: set-ci-condition if: ${{ needs.set-ci-condition.outputs.should-run-ci }}