Skip to content

Commit af5cc7f

Browse files
authored
Merge branch 'main' into github-organization-repositories
2 parents 7516055 + 11fc028 commit af5cc7f

File tree

166 files changed

+2083
-1769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+2083
-1769
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,5 @@ jobs:
3434
go-version-file: go.mod
3535
cache: true
3636
- run: make tools
37-
- run: make lintcheck
38-
- run: make website-lint
3937
- run: make build
4038
- run: make test

.golangci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
version: "2"
22

3+
run:
4+
allow-serial-runners: true
5+
36
linters:
47
default: none
58

GNUmakefile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ endif
2828
default: build
2929

3030
tools:
31-
go install github.com/client9/misspell/cmd/misspell@v0.3.4
32-
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.6.0
31+
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@v2.10.1
3332

3433
build: lintcheck
3534
CGO_ENABLED=0 go build -ldflags="-s -w" ./...
@@ -73,15 +72,11 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
7372
endif
7473
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)
7574

76-
website-lint:
77-
@echo "==> Checking website against linters..."
78-
@misspell -error -source=text website/
79-
8075
website-test:
8176
ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
8277
echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), get-ting..."
8378
git clone https://$(WEBSITE_REPO) $(GOPATH)/src/$(WEBSITE_REPO)
8479
endif
8580
@$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)
8681

87-
.PHONY: build test testacc fmt lint lintcheck tools website website-lint website-test sweep
82+
.PHONY: build test testacc fmt lint lintcheck tools website website-test sweep

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Terraform Provider GitHub
1+
# Terraform Provider GitHub
22
=========================
33

44
<img src="https://cloud.githubusercontent.com/assets/98681/24211275/c4ebd04e-0ee8-11e7-8606-061d656a42df.png" width="72" height="">
@@ -9,8 +9,8 @@ This project is used to manipulate GitHub resources (repositories, teams, files,
99

1010
## Requirements
1111

12-
- [Terraform](https://www.terraform.io/downloads.html) 0.10.x
13-
- [Go](https://golang.org/doc/install) 1.24.x (to build the provider plugin)
12+
- [Terraform](https://www.terraform.io/downloads.html) 1.x
13+
- [Go](https://golang.org/doc/install) 1.26.x (to build the provider plugin)
1414

1515
## Usage
1616

github/acc_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"strings"
1111
"testing"
1212

13-
"github.com/google/go-github/v83/github"
13+
"github.com/google/go-github/v84/github"
1414
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"
1515
"github.com/hashicorp/terraform-plugin-testing/helper/resource"
1616
)

github/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99
"strings"
1010
"time"
1111

12-
"github.com/google/go-github/v83/github"
12+
"github.com/google/go-github/v84/github"
1313
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/logging"
1414
"github.com/shurcooL/githubv4"
1515
"golang.org/x/oauth2"

github/data_source_github_actions_environment_secrets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/google/go-github/v83/github"
7+
"github.com/google/go-github/v84/github"
88

99
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

github/data_source_github_actions_environment_variables.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"context"
55
"net/url"
66

7-
"github.com/google/go-github/v83/github"
7+
"github.com/google/go-github/v84/github"
88

99
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

github/data_source_github_actions_organization_secrets.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package github
33
import (
44
"context"
55

6-
"github.com/google/go-github/v83/github"
6+
"github.com/google/go-github/v84/github"
77

88
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

github/data_source_github_actions_organization_variables.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package github
33
import (
44
"context"
55

6-
"github.com/google/go-github/v83/github"
6+
"github.com/google/go-github/v84/github"
77

88
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema"

0 commit comments

Comments
 (0)