Skip to content

Commit

Permalink
cleanup runs list query parameter options
Browse files Browse the repository at this point in the history
  • Loading branch information
mjyocca committed Jul 20, 2022
1 parent 392b639 commit 34b83e9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions run.go
Expand Up @@ -194,23 +194,18 @@ type RunListOptions struct {
ListOptions

// Optional: Username of user who created the run
// **Note: This API is still in BETA and is subject to change.**
Name string `url:"search[name],omitempty"`

// Optional: Commit SHA for runs triggered via a vcs event
// **Note: This API is still in BETA and is subject to change.**
Commit string `url:"search[commit],omitempty"`

// Optional: Current status of the run
// **Note: This API is still in BETA and is subject to change.**
Status string `url:"filter[status],omitempty"`

// Optional: Source that triggered the run
// **Note: This API is still in BETA and is subject to change.**
Source string `url:"filter[source],omitempty"`

// Optional: Operation type for the run
// **Note: This API is still in BETA and is subject to change.**
Operation string `url:"filter[operation],omitempty"`

// Optional: A list of relations to include. See available resources:
Expand Down
1 change: 0 additions & 1 deletion run_integration_test.go
Expand Up @@ -163,7 +163,6 @@ func TestRunsListQueryParams(t *testing.T) {

for _, testCase := range testCases {
t.Run(testCase.description, func(t *testing.T) {
skipIfBeta(t)
runs, err := client.Runs.List(ctx, workspaceTest.ID, testCase.options)
testCase.assertion(testCase, runs, err)
})
Expand Down

0 comments on commit 34b83e9

Please sign in to comment.