diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 93fc309..d057bbe 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,19 +5,27 @@ version: 2 updates: - - package-ecosystem: "github-actions" # See documentation for possible values + - package-ecosystem: "gomod" # See documentation for possible values directory: "/" # Location of package manifests schedule: interval: "daily" + commit-message: + prefix: "deps(dependabot)" - package-ecosystem: "docker" # See documentation for possible values directory: "/" # Location of package manifests schedule: interval: "daily" + commit-message: + prefix: "deps(dependabot)" - package-ecosystem: "docker" # See documentation for possible values directory: "resources/loadtest/base" # Location of package manifests schedule: interval: "daily" + commit-message: + prefix: "deps(dependabot)" - package-ecosystem: "docker" # See documentation for possible values directory: "resources/validationtest/base" # Location of package manifests schedule: interval: "daily" + commit-message: + prefix: "deps(dependabot)" diff --git a/.github/workflows/lint-conventional-prs.yml b/.github/workflows/lint-conventional-prs.yml new file mode 100644 index 0000000..389441b --- /dev/null +++ b/.github/workflows/lint-conventional-prs.yml @@ -0,0 +1,31 @@ +name: Lint PR Title +run-name: ${{github.event.pull_request.title}} + +on: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize + +jobs: + check: + name: Check Title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@47b15d52c5c30e94a17ec87eb8dd51ff5221fed9 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + deps + chore + docs + feat + fix + refactor + test + requireScope: false + # https://regex101.com/r/pmEvPq/2 + subjectPattern: ^(?![A-Z]).+$ diff --git a/internal/loadtest/sender/legacyevent/sender.go b/internal/loadtest/sender/legacyevent/sender.go index 3056057..e4f643e 100644 --- a/internal/loadtest/sender/legacyevent/sender.go +++ b/internal/loadtest/sender/legacyevent/sender.go @@ -6,6 +6,7 @@ import ( "encoding/json" "fmt" "io" + "log" "net/http" "strings" "time" @@ -87,6 +88,7 @@ func (s *Sender) SendEvent(event events.Event) { } resp, err := s.client.Do(rq) if err != nil { + log.Println(err) s.undeliveredC <- event return }