I was wondering if there is a way i can run something like the below in circleci. I am aiming at not triggering my entire workflow if the changes done on the codebase are just from static files. Because is pointless running the entire workflow with the same codebase that hasn’t change and that is so because my workflow is huge and it takes a while to complete. So in a nutshell i want to run the workflow if the change is is not from the list of the files/folders i am providing to circleci config.
jobs:
my_job:
docker:
- image: circleci/python:3.8
working_directory: ~/repo
steps:
- checkout
- run: echo "Hello, world!"
when:
changeset:
includes:
- '.'
excludes:
- '**/*.md'