don't bother with clippy after merge to main
This commit is contained in:
		| @@ -23,6 +23,10 @@ clippy: | |||||||
|     - cargo clippy |     - cargo clippy | ||||||
|   # Only run clippy on non-protected branches, for development |   # Only run clippy on non-protected branches, for development | ||||||
|   rules: |   rules: | ||||||
|  |     - if: $CI_COMMIT_TAG | ||||||
|  |       when: never | ||||||
|  |     - if: $CI_MERGE_REQUEST_IID | ||||||
|  |       when: never | ||||||
|     - if: $CI_COMMIT_REF_PROTECTED == "false" |     - if: $CI_COMMIT_REF_PROTECTED == "false" | ||||||
|  |  | ||||||
| ############# Unit Testing | ############# Unit Testing | ||||||
| @@ -31,8 +35,8 @@ clippy: | |||||||
|   # Only do tests for tags, protected branches, or merge requests |   # Only do tests for tags, protected branches, or merge requests | ||||||
|   rules: |   rules: | ||||||
|     - if: $CI_COMMIT_TAG |     - if: $CI_COMMIT_TAG | ||||||
|     - if: $CI_COMMIT_REF_PROTECTED == "true" |  | ||||||
|     - if: $CI_MERGE_REQUEST_IID |     - if: $CI_MERGE_REQUEST_IID | ||||||
|  |     - if: $CI_COMMIT_REF_PROTECTED == "true" | ||||||
|  |  | ||||||
| test_linux_amd64: | test_linux_amd64: | ||||||
|   stage: test |   stage: test | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user