Skip to content
Snippets Groups Projects
Commit e58696b1 authored by amtoine's avatar amtoine
Browse files

add workflow rules

parent e9277939
No related branches found
No related tags found
1 merge request!1CI: add same jobs as in original GitHub fork
Pipeline #2595 failed with stage
in 2 minutes and 16 seconds
image: "rust:latest" image: "rust:latest"
workflow:
rules:
- if: $CI_COMMIT_MESSAGE =~ /^(draft|no-ci):/
when: never
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
when: never
- if: ($CI_PIPELINE_SOURCE == "push") && ($CI_COMMIT_BRANCH == "master")
format: format:
script: script:
- cargo fmt --all --check - cargo fmt --all --check
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment