From b1bb00441990d3f6bea57424bd58d665774defae Mon Sep 17 00:00:00 2001 From: Jack Browne Date: Mon, 8 Jan 2024 14:38:31 +0000 Subject: [PATCH 1/2] feat: add webhook notification support --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index e6b016a..92d3443 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/hashicorp/terraform-plugin-docs v0.9.0 github.com/hashicorp/terraform-plugin-sdk/v2 v2.30.0 github.com/stretchr/testify v1.8.4 - github.com/thousandeyes/thousandeyes-sdk-go/v2 v2.4.1 + github.com/thousandeyes/thousandeyes-sdk-go/v2 v2.4.2 ) require ( diff --git a/go.sum b/go.sum index 0a14c37..3d6edd8 100644 --- a/go.sum +++ b/go.sum @@ -169,8 +169,8 @@ github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/ github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo= -github.com/thousandeyes/thousandeyes-sdk-go/v2 v2.4.1 h1:UQi0ITz+oQebqr5CGQ4owN//3izmW4C7ed/NQVzLzIg= -github.com/thousandeyes/thousandeyes-sdk-go/v2 v2.4.1/go.mod h1:XQouPCy3dIp81Xzkp9bqu6vg7fmE4QQpA6REsLVTDdE= +github.com/thousandeyes/thousandeyes-sdk-go/v2 v2.4.2 h1:j84PPcq3EBRtQxJ/zssiBxCajhPQn+unIY5JhDiBWTo= +github.com/thousandeyes/thousandeyes-sdk-go/v2 v2.4.2/go.mod h1:XQouPCy3dIp81Xzkp9bqu6vg7fmE4QQpA6REsLVTDdE= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= From cad070a9178cc9d38430b797689da59aacffb599 Mon Sep 17 00:00:00 2001 From: Jack Browne Date: Mon, 8 Jan 2024 15:10:00 +0000 Subject: [PATCH 2/2] build: skip acceptance tests on forked PRs --- .github/workflows/test.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e0b6445..819f351 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,7 @@ jobs: (echo; echo "Unexpected difference in directories after code generation. Run 'go generate' command and commit."; exit 1) acceptance: name: Acceptance Tests + if: github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name runs-on: ubuntu-latest steps: - uses: actions/checkout@v3