Skip to content

Commit ee82412

Browse files
committed
2 parents f20260a + ed1c1c6 commit ee82412

File tree

7 files changed

+109
-83
lines changed

7 files changed

+109
-83
lines changed

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: gomod
4+
directory: "./"
5+
schedule:
6+
interval: daily
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
### .github/workflows/dependabot_pr.yml
2+
### This workflow doesn't have access to secrets and has a read-only token
3+
name: Dependabot PR Check
4+
on:
5+
pull_request
6+
7+
jobs:
8+
check-dependabot:
9+
runs-on: ubuntu-latest
10+
if: ${{ github.actor == 'dependabot[bot]' }}
11+
steps:
12+
- run: echo "PR created by Dependabot"

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
11
name: test
22

33
on:
4+
workflow_run:
5+
workflows: ["Dependabot PR Check"]
6+
types:
7+
- completed
48
pull_request:
59
branches:
610
- main
11+
- next
712

813
jobs:
914
build-mac:
@@ -27,6 +32,7 @@ jobs:
2732

2833
build-linux:
2934
runs-on: ubuntu-latest
35+
if: ${{ github.actor != 'dependabot[bot]' || github.event.workflow_run.conclusion == 'success' }}
3036
env:
3137
# https://goreleaser.com/customization/docker_manifest/
3238
DOCKER_CLI_EXPERIMENTAL: "enabled"

go.mod

Lines changed: 18 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -3,37 +3,36 @@ module github.com/hookdeck/hookdeck-cli
33
go 1.18
44

55
require (
6-
github.com/AlecAivazis/survey/v2 v2.2.9
7-
github.com/BurntSushi/toml v0.3.1
8-
github.com/briandowns/spinner v1.11.1
6+
github.com/AlecAivazis/survey/v2 v2.3.7
7+
github.com/BurntSushi/toml v1.5.0
8+
github.com/briandowns/spinner v1.23.2
99
github.com/google/go-github/v28 v28.1.1
10-
github.com/gorilla/websocket v1.4.2
11-
github.com/gosimple/slug v1.9.0
10+
github.com/gorilla/websocket v1.5.3
11+
github.com/gosimple/slug v1.14.0
12+
github.com/hookdeck/hookdeck-go-sdk v0.4.1
1213
github.com/logrusorgru/aurora v2.0.3+incompatible
1314
github.com/mitchellh/go-homedir v1.1.0
14-
github.com/sirupsen/logrus v1.8.0
15-
github.com/spf13/cobra v1.0.0
15+
github.com/sirupsen/logrus v1.9.3
16+
github.com/spf13/cobra v1.8.1
17+
github.com/spf13/pflag v1.0.5
1618
github.com/spf13/viper v1.7.1
17-
github.com/stretchr/testify v1.7.0
18-
github.com/tidwall/pretty v1.0.2
19+
github.com/stretchr/testify v1.10.0
20+
github.com/tidwall/pretty v1.2.1
1921
github.com/x-cray/logrus-prefixed-formatter v0.5.2
20-
golang.org/x/sys v0.0.0-20201223074533-0d417f636930
21-
golang.org/x/term v0.0.0-20210220032956-6a3ed077a48d
22+
golang.org/x/sys v0.28.0
23+
golang.org/x/term v0.27.0
2224
)
2325

2426
require (
25-
github.com/creack/pty v1.1.9 // indirect
2627
github.com/davecgh/go-spew v1.1.1 // indirect
2728
github.com/fatih/color v1.9.0 // indirect
2829
github.com/fsnotify/fsnotify v1.4.9 // indirect
2930
github.com/google/go-querystring v1.0.0 // indirect
31+
github.com/gosimple/unidecode v1.0.1 // indirect
3032
github.com/hashicorp/hcl v1.0.0 // indirect
31-
github.com/hookdeck/hookdeck-go-sdk v0.4.1 // indirect
32-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
33+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
3334
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
34-
github.com/kr/pty v1.1.8 // indirect
3535
github.com/kr/text v0.2.0 // indirect
36-
github.com/magefile/mage v1.10.0 // indirect
3736
github.com/magiconair/properties v1.8.3 // indirect
3837
github.com/mattn/go-colorable v0.1.7 // indirect
3938
github.com/mattn/go-isatty v0.0.12 // indirect
@@ -43,17 +42,14 @@ require (
4342
github.com/onsi/gomega v1.10.1 // indirect
4443
github.com/pelletier/go-toml v1.8.1 // indirect
4544
github.com/pmezard/go-difflib v1.0.0 // indirect
46-
github.com/rainycape/unidecode v0.0.0-20150907023854-cb7f23ec59be // indirect
4745
github.com/spf13/afero v1.4.0 // indirect
4846
github.com/spf13/cast v1.3.1 // indirect
4947
github.com/spf13/jwalterweatherman v1.1.0 // indirect
50-
github.com/spf13/pflag v1.0.5 // indirect
5148
github.com/subosito/gotenv v1.2.0 // indirect
52-
golang.org/x/crypto v0.0.0-20200820211705-5c72a883971a // indirect
53-
golang.org/x/net v0.0.0-20200904194848-62affa334b73 // indirect
54-
golang.org/x/text v0.3.3 // indirect
49+
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519 // indirect
50+
golang.org/x/text v0.4.0 // indirect
5551
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
5652
gopkg.in/ini.v1 v1.61.0 // indirect
5753
gopkg.in/yaml.v2 v2.3.0 // indirect
58-
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
54+
gopkg.in/yaml.v3 v3.0.1 // indirect
5955
)

0 commit comments

Comments
 (0)