Skip to content

Commit

Permalink
ci: ignore merge commits in cog checks
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Mar 9, 2022
1 parent 45f93c2 commit b6bda19
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cog.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
branch_whitelist = [ "main" ]
ignore_merge_commits = true

# A list of command to run BEFORE creating a version.
# All change generated by those commands will be committed with the generated version commit.
Expand Down
Empty file added src/conventional/scope.rs
Empty file.
2 changes: 1 addition & 1 deletion tests/cog_tests/verify.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ fn verify_with_unknown_commit_type_fails() -> Result<()> {
Ok(())
}

#[test]
#[sealed_test]
fn should_not_ignore_merge_commit_by_default() -> Result<()> {
// Arrange
let message = "Merge toto into titi";
Expand Down

0 comments on commit b6bda19

Please sign in to comment.