Skip to content

Commit

Permalink
Merge pull request #5 from HappyPathway/pr_checks
Browse files Browse the repository at this point in the history
Pr checks
  • Loading branch information
David Arnold authored and GitHub committed Aug 22, 2024
2 parents bea36a3 + 3c6e8bb commit f1d90f5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ jobs:
terraform_api: app.terraform.io
github_username: djaboxx
github_email: git@roknsound.com
github_org: HappyPathway
secrets:
TFE_TOKEN: ${{ secrets.TFE_TOKEN }}
21 changes: 21 additions & 0 deletions github_repo.tftest.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# valid_string_concat.tftest.hcl
variables {
force_name = true
github_is_private = true
repo_org = "HappyPathway"
name = "github-repo-test"
enforce_prs = false
archive_on_destroy = false
github_org_teams = []
admin_teams = []
}

run "repo_tests" {

command = plan

assert {
condition = github_repository.repo.name == "github-repo-test"
error_message = "Github Repo name did not match expected"
}
}

0 comments on commit f1d90f5

Please sign in to comment.