Skip to content

Commit a8a0240

Browse files
github actions to run on release branches (#274)
* github actions to run on release branches * gofumpt formatting fix * organising imports * organising imports
1 parent ad99daf commit a8a0240

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

.github/workflows/build-lint-test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ env:
33
EXPORT_RESULT: true
44
on:
55
push:
6-
branches: ["main"]
6+
branches: ["main", "release-*"]
77
pull_request:
8-
branches: ["main"]
8+
branches: ["main", "release-*"]
99

1010
jobs:
1111
build:

.github/workflows/codeql-analysis.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: "Code Scanning - Action"
33

44
on:
55
push:
6-
branches: [main]
6+
branches: [main, release-*]
77
pull_request:
8-
branches: [main]
8+
branches: [main, release-*]
99
schedule:
1010
- cron: '30 1 * * 0' # 1:30 on Sundays
1111

v3/v3_service_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import (
55
"encoding/json"
66
"fmt"
77
"io"
8-
"k8s.io/utils/ptr"
98
"net/http"
109
"net/http/httptest"
1110
"os"
@@ -17,8 +16,9 @@ import (
1716
"github.com/keploy/go-sdk/mock"
1817
"github.com/stretchr/testify/assert"
1918
"github.com/stretchr/testify/require"
19+
"k8s.io/utils/ptr"
2020

21-
"github.com/nutanix-cloud-native/prism-go-client"
21+
prismgoclient "github.com/nutanix-cloud-native/prism-go-client"
2222
"github.com/nutanix-cloud-native/prism-go-client/internal"
2323
"github.com/nutanix-cloud-native/prism-go-client/internal/testhelpers"
2424
"github.com/nutanix-cloud-native/prism-go-client/utils"

v3/v3_structs.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2769,7 +2769,6 @@ type AvailabilityZoneStatus struct {
27692769
//
27702770
// swagger:model vm_vtpm_config
27712771
type VMVtpmConfig struct {
2772-
27732772
// data source reference
27742773
DataSourceReference *Reference `json:"data_source_reference,omitempty" mapstructure:"data_source_reference,omitempty"`
27752774

@@ -2787,7 +2786,6 @@ type VMVtpmConfig struct {
27872786
//
27882787
// swagger:model vm_vtpm_status
27892788
type VMVtpmStatus struct {
2790-
27912789
// data source reference
27922790
DataSourceReference *Reference `json:"data_source_reference,omitempty" mapstructure:"data_source_reference,omitempty"`
27932791

0 commit comments

Comments
 (0)