- rulse
- changes
Only run job if specific files changed
examples/pipelines/rules-changes/.gitlab-ci.yml
# Run if either Dockerfile or requirements.txt file changed docker: rules: - changes: - Dockerfile - requirements.txt script: - echo docker
# Run if either Dockerfile or requirements.txt file changed docker: rules: - changes: - Dockerfile - requirements.txt script: - echo docker