Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ test:
testacc:
@branch=$$(git rev-parse --abbrev-ref HEAD); \
printf "==> Running acceptance tests on branch: \033[1m%s\033[0m...\n" "🌿 $$branch 🌿"
TF_ACC=1 CGO_ENABLED=0 go test $(TEST) -v -run '^TestAcc' $(RUNARGS) $(TESTARGS) -timeout 120m -count=1
TF_ACC=1 CGO_ENABLED=0 go test $(TEST) -parallel=4 -v -run '^TestAcc' $(RUNARGS) $(TESTARGS) -timeout 120m -count=1

sweep:
@echo "WARNING: This will destroy infrastructure. Use only in development accounts."
Expand Down
6 changes: 6 additions & 0 deletions github/data_source_github_repository.go
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,11 @@ func dataSourceGithubRepository() *schema.Resource {
Type: schema.TypeBool,
Computed: true,
},
"web_commit_signoff_required": {
Type: schema.TypeBool,
Computed: true,
Description: "Require contributors to sign off on web-based commits.",
},
},
}
}
Expand Down Expand Up @@ -414,6 +419,7 @@ func dataSourceGithubRepositoryRead(ctx context.Context, d *schema.ResourceData,
_ = d.Set("has_projects", repo.GetHasProjects())
_ = d.Set("delete_branch_on_merge", repo.GetDeleteBranchOnMerge())
_ = d.Set("allow_update_branch", repo.GetAllowUpdateBranch())
_ = d.Set("web_commit_signoff_required", repo.GetWebCommitSignoffRequired())

if repo.GetHasPages() {
pages, _, err := client.Repositories.GetPagesInfo(ctx, owner, repoName)
Expand Down
Loading