Skip to content

Commit

Permalink
go-git vulnerability (#483)
Browse files Browse the repository at this point in the history
* go-git

* small fix

* fix hasNonTagChanges to check if a change in tag lines were actually made by yor

* try

* remove unused

* add env

* Revert "add env"

This reverts commit e49ac90.

* Revert "Revert "add env""

This reverts commit 7aa13d7.

* add hostname

---------

Co-authored-by: Naor David <nadavid@paloaltonetworks.com>
Co-authored-by: naorda <tronxd@users.noreply.github.com>
  • Loading branch information
3 people committed Mar 7, 2024
1 parent 7bf3c5a commit 33f7b53
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 61 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/test.yaml
Expand Up @@ -34,6 +34,10 @@ jobs:
contents: read
pull-requests: write
steps:
- name: print env
run: env
- name: print hostname
run: hostname
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3
- name: golangci-lint
uses: reviewdog/action-golangci-lint@94d61e3205b61acf4ddabfeb13c5f8a13eb4167b # v2
Expand Down
31 changes: 20 additions & 11 deletions go.mod
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/awslabs/goformation/v5 v5.2.7
github.com/bridgecrewio/goformation/v5 v5.0.0-20210823083242-84a6d242099f
github.com/go-git/go-git/v5 v5.2.0
github.com/go-git/go-git/v5 v5.11.0
github.com/google/uuid v1.2.0
github.com/hashicorp/go-hclog v0.9.2
github.com/hashicorp/go-version v1.2.0
Expand All @@ -17,7 +17,7 @@ require (
github.com/olekukonko/tablewriter v0.0.5
github.com/pmezard/go-difflib v1.0.0
github.com/sanathkr/yaml v1.0.0
github.com/stretchr/testify v1.6.1
github.com/stretchr/testify v1.8.4
github.com/urfave/cli/v2 v2.3.0
github.com/zclconf/go-cty v1.7.0
go.opencensus.io v0.22.0
Expand All @@ -27,6 +27,7 @@ require (

require (
cloud.google.com/go v0.45.1 // indirect
dario.cat/mergo v1.0.0 // indirect
github.com/Azure/azure-sdk-for-go v36.2.0+incompatible // indirect
github.com/Azure/go-autorest/autorest v0.9.2 // indirect
github.com/Azure/go-autorest/autorest/adal v0.8.1-0.20191028180845-3492b2aff503 // indirect
Expand All @@ -38,6 +39,8 @@ require (
github.com/Azure/go-autorest/tracing v0.5.0 // indirect
github.com/Azure/go-ntlmssp v0.0.0-20180810175552-4a21cbd618b4 // indirect
github.com/ChrisTrenkamp/goxpath v0.0.0-20170922090931-c385f95c6022 // indirect
github.com/Microsoft/go-winio v0.6.1 // indirect
github.com/ProtonMail/go-crypto v0.0.0-20230828082145-3c4c8a2d2371 // indirect
github.com/Unknwon/com v0.0.0-20151008135407-28b053d5a292 // indirect
github.com/agext/levenshtein v1.2.2 // indirect
github.com/aliyun/alibaba-cloud-sdk-go v0.0.0-20190329064014-6e358769c32a // indirect
Expand All @@ -54,20 +57,23 @@ require (
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/bmatcuk/doublestar v1.1.5 // indirect
github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e // indirect
github.com/cloudflare/circl v1.3.3 // indirect
github.com/coreos/etcd v3.3.10+incompatible // indirect
github.com/coreos/go-semver v0.2.0 // indirect
github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d // indirect
github.com/cyphar/filepath-securejoin v0.2.4 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/dimchansky/utfbom v1.1.0 // indirect
github.com/dylanmei/iso8601 v0.1.0 // indirect
github.com/emirpasic/gods v1.12.0 // indirect
github.com/emirpasic/gods v1.18.1 // indirect
github.com/fatih/color v1.7.0 // indirect
github.com/go-git/gcfg v1.5.0 // indirect
github.com/go-git/go-billy/v5 v5.0.0 // indirect
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
github.com/go-git/go-billy/v5 v5.5.0 // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.5 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/go-querystring v1.0.0 // indirect
github.com/googleapis/gax-go/v2 v2.0.5 // indirect
github.com/gophercloud/gophercloud v0.0.0-20190208042652-bc37892e1968 // indirect
Expand All @@ -93,13 +99,12 @@ require (
github.com/hashicorp/serf v0.0.0-20160124182025-e4ec8cc423bb // indirect
github.com/hashicorp/terraform-svchost v0.0.0-20191011084731-65d371908596 // indirect
github.com/hashicorp/yamux v0.0.0-20180604194846-3520598351bb // indirect
github.com/imdario/mergo v0.3.13 // indirect
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
github.com/jmespath/go-jmespath v0.3.0 // indirect
github.com/joyent/triton-go v0.0.0-20180313100802-d8f9c0314926 // indirect
github.com/json-iterator/go v1.1.5 // indirect
github.com/kardianos/osext v0.0.0-20190222173326-2bc1f35cddc0 // indirect
github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd // indirect
github.com/kevinburke/ssh_config v1.2.0 // indirect
github.com/klauspost/compress v1.11.2 // indirect
github.com/lib/pq v1.0.0 // indirect
github.com/likexian/gokit v0.20.15 // indirect
Expand All @@ -125,6 +130,7 @@ require (
github.com/nu7hatch/gouuid v0.0.0-20131221200532-179d4d0c4d8d // indirect
github.com/oklog/run v1.0.0 // indirect
github.com/packer-community/winrmcp v0.0.0-20180102160824-81144009af58 // indirect
github.com/pjbgf/sha1cd v0.3.0 // indirect
github.com/pkg/browser v0.0.0-20180916011732-0a3d74bf9ce4 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/posener/complete v1.2.1 // indirect
Expand All @@ -133,6 +139,7 @@ require (
github.com/satori/go.uuid v1.2.0 // indirect
github.com/sergi/go-diff v1.1.0 // indirect
github.com/shurcooL/sanitized_anchor_name v1.0.0 // indirect
github.com/skeema/knownhosts v1.2.1 // indirect
github.com/spf13/afero v1.2.1 // indirect
github.com/svanharmelen/jsonapi v0.0.0-20180618144545-0c0828c3f16d // indirect
github.com/tencentcloud/tencentcloud-sdk-go v3.0.82+incompatible // indirect
Expand All @@ -142,23 +149,25 @@ require (
github.com/ulikunitz/xz v0.5.8 // indirect
github.com/vmihailenco/msgpack/v4 v4.3.12 // indirect
github.com/vmihailenco/tagparser v0.1.1 // indirect
github.com/xanzy/ssh-agent v0.2.1 // indirect
github.com/xanzy/ssh-agent v0.3.3 // indirect
github.com/xlab/treeprint v0.0.0-20161029104018-1d6e34225557 // indirect
github.com/zclconf/go-cty-yaml v1.0.1 // indirect
golang.org/x/crypto v0.17.0 // indirect
golang.org/x/net v0.10.0 // indirect
golang.org/x/mod v0.12.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4 // indirect
golang.org/x/tools v0.13.0 // indirect
google.golang.org/api v0.9.0 // indirect
google.golang.org/appengine v1.6.5 // indirect
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55 // indirect
google.golang.org/grpc v1.27.1 // indirect
google.golang.org/protobuf v1.26.0 // indirect
gopkg.in/ini.v1 v1.42.0 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
gopkg.in/yaml.v3 v3.0.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)

replace (
Expand Down

0 comments on commit 33f7b53

Please sign in to comment.