Skip to content

Commit

Permalink
chore: allow renovate to automerge if not major version rev
Browse files Browse the repository at this point in the history
  • Loading branch information
Gowiem committed Dec 23, 2024
1 parent 6979076 commit 7002eb6
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
"baseBranches": ["main", "master"],
"labels": ["auto-upgrade"],
"dependencyDashboardAutoclose": true,
"packageRules": [{
// Allow auto merge if it's not a major version update
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}],
"terraform": {
"ignorePaths": [
"**/context.tf",
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ Check out an example configuration in the [examples/complete](./examples/complet

<!-- NOTE to Masterpoint team: We might want to create a small wrapper to automatize this using Taskit. On hold for now. -->

### What goes in a Stack config file? e.g. `stacks/dev.yaml`, `stacks/common.yaml`, `stack.yaml`, etc.
### What goes in a Stack config file? e.g. `stacks/dev.yaml`, `stacks/common.yaml`, `stack.yaml`, etc

Most settings that you would set on [the Spacelift Stack resource](https://search.opentofu.org/provider/spacelift-io/spacelift/latest/docs/resources/stack) are supported. Additionally, you can include certain Stack specific settings that will override this module's defaults like `default_tf_workspace_enabled`, `tfvars.enabled`, and similar. See the code for full details.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
terraform {
required_version = "~> 1.0.0"

required_providers {}
required_providers {
null = {
source = "hashicorp/null"
version = "~> 3.0"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
terraform {
required_version = "~> 1.0.0"

required_providers {}
required_providers {
null = {
source = "hashicorp/null"
version = "~> 3.0"
}
}
}

0 comments on commit 7002eb6

Please sign in to comment.