Skip to content

Commit

Permalink
Fix Release (#30)
Browse files Browse the repository at this point in the history
* resolve tflint complaints

* removed tf module workflows

* corrected reusable workflows
  • Loading branch information
milldr authored Jul 25, 2024
1 parent 462540e commit 9ad18af
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 50 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/branch.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Branch
on:
pull_request:
branches:
- main
- release/**
types: [opened, synchronize, reopened]
push:
branches:
- main
- release/v*
paths-ignore:
- '.github/**'
- 'docs/**'
- 'examples/**'
- 'test/**'
- 'README.md'

permissions:
contents: write
actions: write

jobs:
github-action:
uses: cloudposse/.github/.github/workflows/shared-github-action.yml@main
secrets: inherit
20 changes: 0 additions & 20 deletions .github/workflows/release-branch.yml

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/release-published.yml

This file was deleted.

16 changes: 0 additions & 16 deletions .github/workflows/scheduled.yml

This file was deleted.

2 changes: 1 addition & 1 deletion tests/components/terraform/test/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ variable "seed" {
resource "random_id" "this" {
keepers = {
# Generate a new id each time we switch to a new seed
seed = "${var.seed}"
seed = var.seed
}
byte_length = 8
}
10 changes: 10 additions & 0 deletions tests/components/terraform/test/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
terraform {
required_version = ">= 1.0.0"

required_providers {
random = {
source = "hashicorp/random"
version = "3.1.0"
}
}
}

0 comments on commit 9ad18af

Please sign in to comment.