Skip to content

Commit

Permalink
add missing license headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Hoß authored and sebhoss committed Aug 20, 2022
1 parent 8f1fe6d commit c64c01d
Show file tree
Hide file tree
Showing 10 changed files with 30 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

.terraform/
.terraform.lock.hcl
3 changes: 3 additions & 0 deletions tests/data_source_git_branch.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

data "git_branch" "main" {
directory = data.git_repository.repository.directory
name = "main"
Expand Down
3 changes: 3 additions & 0 deletions tests/data_source_git_branches.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

data "git_branches" "branches" {
directory = data.git_repository.repository.directory
}
Expand Down
3 changes: 3 additions & 0 deletions tests/data_source_git_config.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

data "git_config" "defaults" {
directory = data.git_repository.repository.directory
}
Expand Down
3 changes: 3 additions & 0 deletions tests/data_source_git_remote.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

data "git_remote" "origin" {
directory = data.git_repository.repository.directory
name = "origin"
Expand Down
3 changes: 3 additions & 0 deletions tests/data_source_git_remotes.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

data "git_remotes" "remotes" {
directory = data.git_repository.repository.directory
}
Expand Down
3 changes: 3 additions & 0 deletions tests/data_source_git_repository.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

data "git_repository" "repository" {
directory = var.git_repo_path
}
Expand Down
3 changes: 3 additions & 0 deletions tests/data_source_git_tags.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

data "git_tags" "tags" {
directory = data.git_repository.repository.directory
}
Expand Down
3 changes: 3 additions & 0 deletions tests/main.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

terraform {
required_providers {
git = {
Expand Down
3 changes: 3 additions & 0 deletions tests/variables.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# SPDX-FileCopyrightText: The terraform-provider-git Authors
# SPDX-License-Identifier: 0BSD

variable "git_repo_path" {
type = string
description = "The root directory of a Git repository."
Expand Down

0 comments on commit c64c01d

Please sign in to comment.