Skip to content

Commit

Permalink
Run script files to ensure linting and tests succeed
Browse files Browse the repository at this point in the history
  • Loading branch information
emmahsax committed Feb 10, 2024
1 parent 36606c6 commit 4741b40
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
16 changes: 16 additions & 0 deletions github/github-accessors.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 20 additions & 0 deletions github/github-accessors_test.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/integration/repos_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func TestRepositories_EditBranches(t *testing.T) {
protectionRequest := &github.ProtectionRequest{
RequiredStatusChecks: &github.RequiredStatusChecks{
Strict: true,
Contexts: []string{"continuous-integration"},
Contexts: &[]string{"continuous-integration"},
},
RequiredPullRequestReviews: &github.PullRequestReviewsEnforcementRequest{
DismissStaleReviews: true,
Expand All @@ -126,7 +126,7 @@ func TestRepositories_EditBranches(t *testing.T) {
want := &github.Protection{
RequiredStatusChecks: &github.RequiredStatusChecks{
Strict: true,
Contexts: []string{"continuous-integration"},
Contexts: &[]string{"continuous-integration"},
},
RequiredPullRequestReviews: &github.PullRequestReviewsEnforcement{
DismissStaleReviews: true,
Expand Down

0 comments on commit 4741b40

Please sign in to comment.