Skip to content

Commit

Permalink
feat!: Require a single CI context ("ci") (#5)
Browse files Browse the repository at this point in the history
BREAKING CHANGE: Other CI contexts can no longer be specified.
  • Loading branch information
gnarea authored Dec 17, 2021
1 parent c233039 commit ee3447a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ resource "github_branch_protection" "main" {
strict = true
contexts = concat(
var.require_semantic_releases ? ["pr-ci / semantic-pr-title"] : [],
var.ci_contexts,
["license/cla"]
["ci", "license/cla"]
)
}

Expand Down

0 comments on commit ee3447a

Please sign in to comment.