slack-bot

Ready to use Slack bot for lazy developers: start Jenkins jobs, watch Jira tickets, watch pull requests with AI support...

MIT License

Stars
179
Committers
11

Bot releases are visible (Hide)

slack-bot - v2.3.9 Latest Release

Published by github-actions[bot] about 1 month ago

What’s Changed

  • Require go 1.22 (#615) @brainexe
  • queue/pr overview: add option to pin the recent message (#591 + #589) @brainexe
  • bitbucket: improve error message in case of http error (#590) @brainexe
  • export: more delay (#597) @brainexe
  • jenkins: allow more characters in "wait until jenkins is idle" command (#583) @brainexe
  • avoid slack error "message_too_long" (#581) @brainexe
  • extract app code to inject plugins at compile time (#575) @brainexe
  • Dall-E: 2nd button + add "quality" option (#576) @brainexe

Cleanups

  • linter update (#616) @brainexe

Dependency updates

  • build(deps): bump github.com/xanzy/go-gitlab from 0.105.0 to 0.108.0 (#594, #613)
  • build(deps): bump github.com/prometheus/client_golang from 1.19.1 to 1.20.3 (#609, #611, #614)
  • build(deps): bump docker/build-push-action from 5.4.0 to 6.7.0 (#580, #587, #601, #608)
  • build(deps): bump github.com/slack-go/slack from 0.13.0 to 0.14.0 (#596, #610)
  • build(deps): bump golangci/golangci-lint-action from 6.0.1 to 6.1.0 (#605)
  • build(deps): bump golang.org/x/text from 0.16.0 to 0.17.0 (#606)
  • build(deps): bump docker/setup-buildx-action from 3.3.0 to 3.6.1 (#600, #603)
  • build(deps): bump github.com/redis/go-redis/v9 from 9.5.2 to 9.6.0 (#592, #598)
  • build(deps): bump github.com/hashicorp/go-retryablehttp from 0.7.2 to 0.7.7 (#585)
slack-bot - v2.3.8 - new channel export as CSV command

Published by github-actions[bot] 4 months ago

What’s Changed

  • export channel as CSV (#569) @brainexe
  • openai: use gpt-4o by default (#572) @brainexe

Misc

  • require go 1.21 + updated linters (#565) @brainexe
  • require go 1.21.9 for security patches (#574) @brainexe

Dependency updates

  • build(deps): bump docker/build-push-action from 5.3.0 to 5.4.0 (#573) @dependabot
  • build(deps): bump github.com/redis/go-redis/v9 from 9.5.1 to 9.5.2 (#567) @dependabot
  • build(deps): bump golang.org/x/text from 0.15.0 to 0.16.0 (#568) @dependabot
  • build(deps): bump docker/login-action from 3.1.0 to 3.2.0 (#566) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.103.0 to 0.104.1 (#561) @dependabot
  • build(deps): bump golangci/golangci-lint-action from 5.3.0 to 6.0.1 (#563) @dependabot
  • build(deps): bump golang.org/x/net from 0.20.0 to 0.23.0 (#554) @dependabot
slack-bot -

Published by github-actions[bot] 6 months ago

Features

  • dall-e: added "regenerate" button (#556) @brainexe

Misc

  • fix usage of "govulncheck-action" (#551) @brainexe

Dependencies

  • build(deps): bump golangci/golangci-lint-action from 4.0.0 to 5.3.0 (#557+#558) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.49 to 1.50 (#552) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.100.0 to 0.103.0 (#548+#553) @dependabot
  • build(deps): bump docker/setup-buildx-action from 3.1.0 to 3.3.0 (#550) @dependabot
slack-bot - v2.3.6 - dependencies

Published by github-actions[bot] 7 months ago

What’s Changed

  • golang.org/x/oauth2: bumped from 0.15.0 to 0.19.0. (#518, #547)
  • docker/build-push-action: bumped from 5.1.0 to 5.3.0. (#546)
  • docker/login-action: bumped from 3.0.0 to 3.1.0. (#544)
  • google.golang.org/protobuf: bumped from 1.32.0 to 1.33.0. (#545)
  • github.com/xanzy/go-gitlab: bumped from 0.95.2 to 0.100.0. (#520, #525, #534, #543)
  • github.com/stretchr/testify: bumped from 1.8.4 to 1.9.0. (#539)
  • github.com/prometheus/client_golang: bumped from 1.17.0 to 1.19.0. (#515, #538)
  • github.com/redis/go-redis/v9: bumped from 9.3.0 to 9.5.1. (#517, #533)
  • wangyoucao577/go-release-action: bumped from 1.41 to 1.49. (#516, #521, #522, #530, #535)
  • docker/setup-buildx-action: bumped from 3.0.0 to 3.1.0. (#536)
  • github.com/slack-go/slack: bumped from 0.12.3 to 0.12.4. (#531)
  • golangci/golangci-lint-action: bumped from 3.7.0 to 4.0.0. (#529)
  • codecov/codecov-action: bumped from 3 to 4. (#523)
  • release-drafter/release-drafter: bumped from 5 to 6. (#524)
slack-bot - v2.3.5 - openai polishing

Published by github-actions[bot] 10 months ago

What’s Changed

Improvements to openai commands:

  • openai: longer http timeout for GPT (#513) @brainexe
  • openai: better calculation for output tokens (#512) @brainexe
  • DALL-E: add metrics for dalle requests (#506) @brainexe
  • DALL-E longer timeout to upload (#504) @brainexe

Dependencies

  • build(deps): bump github.com/xanzy/go-gitlab from 0.94.0 to 0.95.2 (#511) @dependabot
  • build(deps): bump github/codeql-action from 2 to 3 (#510) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.39 to 1.41 (#507) @dependabot
  • build(deps): bump actions/setup-go from 4 to 5 (#508) @dependabot
  • build(deps): bump golang.org/x/oauth2 from 0.13.0 to 0.15.0 (#505) @dependabot
slack-bot - v2.3.4 - DALL-E

Published by github-actions[bot] 11 months ago

Features

Most noticeable nre feature is DALL-E integration to generate images via AI. If openai is configires, just prefix the prompt with "dalle" or "generate image" and wait some seconds.
dalle

  • DALL-E integration (#498) @brainexe
  • DALL-E: upload images to slack (#500) @brainexe

Other changes and fixes

  • New RIPE atlas commands (#459) @lamaral
  • Send Prometheus metrics (#491 + #497) @brainexe
  • Openai: Align token count for gpt-3.5-turbo with official docs (#492) @dreis2211
  • Openai: use message attachment as GPT context (#490) @brainexe
  • Openai: truncate input message if tokens exceeding (#474) @brainexe
  • Openai: more config options for openai and better logging (#494) @brainexe

internal

  • test: cleanup mocks to find unwanted asserts (#502) @brainexe
  • internal: use chain storage by default to speedup reads (#478) @brainexe
  • Some cleanups + more tests etc (#487) @brainexe
  • WIP: preparations for plugins (#471) @brainexe
  • cleanup VCS/BranchLookup (#421) @brainexe
  • fix "pool" async runner (#479) @brainexe

Dependencies

  • build(deps): bump github.com/xanzy/go-gitlab from 0.91.1 to 0.94.0 (#483 + #496) @dependabot
  • build(deps): bump docker/build-push-action from 4.1.1 to 5.1.0 (#476 + #499) @dependabot
  • build(deps): bump github.com/redis/go-redis/v9 from 9.2.1 to 9.3.0 (#489) @dependabot
  • build(deps): bump docker/setup-buildx-action from 2.9.0 to 3.0.0 (#475) @dependabot
  • build(deps): bump codecov/codecov-action from 3 to 4 (#476) @dependabot
  • build(deps): bump docker/login-action from 2.2.0 to 3.0.0 (#472) @dependabot
  • build(deps): bump actions/checkout from 3 to 4 (#469) @dependabot
slack-bot - v2.3.3

Published by github-actions[bot] about 1 year ago

Improvements and changes

  • New command "notify user @whateveruser active" (#466) @brainexe
  • Pullrequest fix: remove all needed approve reaction on revoked pullrequest (#452) @brainexe
  • Ready for go 1.21 (#456) @brainexe
  • Openai: add a config to evaluate all unknown commands as GPT command (#409) @brainexe
  • Make it possible to disable custom commands/variables (#404) @brainexe
  • Add an option to disable authentication via whitelist (#403) @brainexe
  • Breaking change: remove deprecated RTM api (#414) @brainexe

Cleanups

  • gosec: avoid security warning (#461) @brainexe
  • Fix some linter warnings and deprecations (#464) @brainexe
  • Add more docs for openai (#443) @brainexe
  • ci: new vulncheck check (#413) @brainexe

Dependencies

  • update deps + CI (#410) @brainexe
  • Update storage deps (Redis v7->v9) (#462) @brainexe
  • Update gitlab library (#435) @brainexe
  • Update dependencies (#434) @brainexe
  • build(deps): bump github.com/slack-go/slack from 0.12.1 to 0.12.3 (#411+#460) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.82.0 to 0.90.0 (#454) @dependabot
slack-bot - v2.3.1 - Openai improvements

Published by github-actions[bot] over 1 year ago

Highlight

  • use thread history in openai calls (#395) @brainexe

225578443-a004d712-bbee-46be-b00c-f5ce3389e1d7

Other changes

  • jira: support "PROJECT-1234" as command (#402) @brainexe
  • Track command names (#401) @brainexe
  • Help+code cleanup (#397) @brainexe

Dependency updates

  • build(deps): bump github.com/gookit/color from 1.5.2 to 1.5.3 (#400) @dependabot
  • build(deps): bump actions/setup-go from 3 to 4 (#399) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.34 to 1.36 (#394) @dependabot
  • build(deps): bump actions/setup-go from 3 to 4 (#396) @dependabot
  • build(deps): bump golangci/golangci-lint-action from 3.3.1 to 3.4.0 (#393) @dependabot
slack-bot - v2.3.0 - Openai/ChatGPT integration

Published by github-actions[bot] over 1 year ago

Features

  • Openai/ChatGPT integration (#389) @brainexe

It's possible now to chat with the slack bot in a ChatGPT style, using the official Openai-API using the thread history into account!
openai
More information in the readme

Improvements

  • improve "you are not whitelisted" message (#391) @brainexe
  • add more tests (#387) @brainexe
  • pools: allow "extend 2d" or "extend 5days" etc (#384) @brainexe

Dependencies

  • build(deps): bump docker/setup-buildx-action from 2.0.0 to 2.5.0 (#390) @dependabot
  • build(deps): bump docker/build-push-action from 3.2.0 to 4.0.0 (#378) @dependabot
  • build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 (#385) @dependabot
  • build(deps): bump golang.org/x/text from 0.6.0 to 0.7.0 (#382) @dependabot
slack-bot - v2.2.10

Published by github-actions[bot] over 1 year ago

What’s Changed

Changes

  • add pool of resources to maintain locks for (#370) @fsuhrau
  • Use go 1.20 in pipelines (#380) @brainexe

Cleanups

  • cleanups: dependency updates + deprecated warnings (#368) @brainexe
  • remove abandoned linters (#371) @brainexe

Dependencies

  • build(deps): bump golang.org/x/oauth2 from 0.3.0 to 0.4.0 (#373) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.77.0 to 0.79.1 (#379) @dependabot
  • build(deps): bump golang.org/x/text from 0.5.0 to 0.6.0 (#372) @dependabot
  • build(deps): bump docker/login-action from 2.0.0 to 2.1.0 (#369) @dependabot
  • build(deps): bump golangci/golangci-lint-action from 3.2.0 to 3.3.1 (#366) @dependabot
slack-bot - v2.2.9

Published by github-actions[bot] almost 2 years ago

What’s Changed

features/changes

  • add ECS command for AWS (#362) @pathcl
  • use message author for response (#347) @fsuhrau
  • add option to notify user about the pr status (#345) @fsuhrau

bugfixes

  • Add check if parsed parameter might be an empty string (#356) @brainexe
  • fix typos in comments, documentation and tests (#339) @ccoVeille
  • fix go version of master build (#343) @brainexe

deps

  • use latest version of golangci-lint (#346) @brainexe
  • build(deps): bump wangyoucao577/go-release-action from 1.30 to 1.34 (#365) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.74.0 to 0.76.0 (#364) @dependabot
  • build(deps): bump github.com/slack-go/slack from 0.11.3 to 0.11.4 (#361) @dependabot
  • build(deps): bump docker/build-push-action from 3.0.0 to 3.2.0 (#353) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.73.1 to 0.74.0 (#358) @dependabot
  • build(deps): bump golang.org/x/text from 0.3.7 to 0.4.0 (#357) @dependabot
  • build(deps): bump github.com/gookit/color from 1.5.1 to 1.5.2 (#348) @dependabot
  • build(deps): bump github.com/slack-go/slack from 0.11.2 to 0.11.3 (#351) @dependabot
  • build(deps): bump github.com/andygrunwald/go-jira from 1.15.1 to 1.16.0 (#342) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.70.0 to 0.73.1 (#344) @dependabot
slack-bot - v2.2.8 - Go 1.18

Published by github-actions[bot] about 2 years ago

What’s Changed

  • require go1.18 (#329) @brainexe
  • change all interface{} to any (#335) @brainexe
  • build release version with go 1.18 (#302) @brainexe
  • build(deps): bump github.com/xanzy/go-gitlab from 0.58.0 to 0.60.0 (#301) @dependabot
  • use go 1.18 in workflows (#299) @brainexe
  • a bunch of version bumps
  • also test go 1.19 (#336) @brainexe
slack-bot - v2.2.7 - improve "wait until jenkins is idle" command + go 1.18 preparation

Published by github-actions[bot] over 2 years ago

What’s Changed

  • Support Jira access token (#285) @brainexe
  • Jenkins: add command "wait until jenkins node NODE-NAME is idle" (#275) @brainexe
    *Jenkins: show number of running jobs in "wait until jenkins is idle" command (#296) @brainexe
  • support go 1.18 (#286) @brainexe
  • Require go 1.17 (#284) @brainexe

deps

  • build(deps): bump github.com/xanzy/go-gitlab from 0.56.0 to 0.57.0 (#295) @dependabot
  • build(deps): bump actions/checkout from 2 to 3 (#294) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.55.1 to 0.56.0 (#293) @dependabot
  • update gfleury/go-bitbucket-v1 (#291) @brainexe
  • build(deps): bump docker/login-action from 1.12.0 to 1.13.0 (#283) @dependabot
  • build(deps): bump docker/build-push-action from 2.8.0 to 2.9.0 (#278) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.23 to 1.24 (#277) @dependabot
  • build(deps): bump docker/build-push-action from 2.7.0 to 2.8.0 (#272) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.22 to 1.23 (#276) @dependabot

What's Changed

Full Changelog: https://github.com/innogames/slack-bot/compare/v2.2.6...v2.2.7

slack-bot - v2.2.6 - AWS and other smaller improvements

Published by github-actions[bot] over 2 years ago

What’s Changed

  • Bitbucket: increase bitbucket branch limit (default 25 -> 1000) (#274) @brainexe
  • enhancement: improve blocking commands for custom commands. (#266) @brainexe
  • enhancement: improve help (#262) @brainexe
  • feature: AWS client (#246) @joosangkim

Internal

  • use new constant from Slack library (#243) @brainexe
  • internal: release global lock earlier (#239) @brainexe

Dependencies

  • build(deps): bump github.com/xanzy/go-gitlab from 0.52.2 to 0.54.3 (#271) @dependabot
  • build(deps): bump github.com/slack-go/slack from 0.10.0 to 0.10.1 (#268) @dependabot
  • build(deps): bump github.com/alicebob/miniredis/v2 from 2.16.1 to 2.17.0 (#261) @dependabot
  • build(deps): bump github.com/aws/aws-sdk-go from 1.42.24 to 1.42.25 (#265) @dependabot
  • build(deps): bump docker/login-action from 1.10.0 to 1.12.0 (#263) @dependabot
  • build(deps): bump github.com/aws/aws-sdk-go from 1.42.20 to 1.42.24 (#264) @dependabot
  • build(deps): bump github.com/aws/aws-sdk-go from 1.42.19 to 1.42.20 (#257) @dependabot
  • build(deps): bump github.com/aws/aws-sdk-go from 1.42.6 to 1.42.19 (#256) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.52.1 to 0.52.2 (#249) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.52.0 to 0.52.1 (#247) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.21 to 1.22 (#245) @dependabot
  • build(deps): bump github.com/alicebob/miniredis/v2 from 2.16.0 to 2.16.1 (#244) @dependabot
  • build(deps): bump github.com/slack-go/slack from 0.9.5 to 0.10.0 (#241) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.51.1 to 0.52.0 (#242) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.20 to 1.21 (#240) @dependabot
slack-bot - v2.2.5 - Jenkins subjobs

Published by github-actions[bot] almost 3 years ago

What’s Changed

Changes

  • jenkins improvements for inner jobs (#236) @fsuhrau
  • inform jenkins job: improve error message when build does not exists (#234) @brainexe

Fixes

  • fix order of executed "commands" (#229) @brainexe
  • Jenkins: fixed link to console. (#227) @brainexe

Internal

  • restructure go.mod (#233) @brainexe
  • optimize locks + http handling (#231) @brainexe
  • some code cleanups (#223) @brainexe
  • build(deps): bump github.com/alicebob/miniredis/v2 from 2.15.1 to 2.16.0 (#237) @dependabot
  • build(deps): bump github.com/gookit/color from 1.4.2 to 1.5.0 (#235) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.50.4 to 0.51.1 (#230) @dependabot
  • build(deps): bump github.com/slack-go/slack from 0.9.4 to 0.9.5 (#228) @dependabot
  • build(deps): bump codecov/codecov-action from 2.0.3 to 2.1.0 (#226) @dependabot
  • build(deps): bump github.com/xanzy/go-gitlab from 0.50.3 to 0.50.4 (#225) @dependabot
  • build(deps): bump docker/setup-buildx-action from 1.5.1 to 1.6.0 (#224) @dependabot
slack-bot - v2.2.4 - improved CLI mode

Published by github-actions[bot] about 3 years ago

Features/Improvements

cli

  • improved CLI aka fake slack server - Part 2 (#217) @brainexe
  • improved CLI aka fake slack server (#215) @brainexe
  • improvement: show "help" command as ephemeral message (only shown to the author) (#220) @brainexe
  • CLI polishing (#219) @brainexe

Internal

  • internal: replace viper 'replace' by a proper fork (#221) @brainexe
  • build(deps): bump wangyoucao577/go-release-action from 1.19 to 1.20 (#222) @dependabot
  • build(deps): bump codecov/codecov-action from 2.0.2 to 2.0.3 (#216) @dependabot
slack-bot - v2.2.3 - make forking + custom commands easier

Published by github-actions[bot] about 3 years ago

What’s Changed

I added some changes (esp to the cmd/bot/main.go), to avoid some overhead code to make the bot runnable -> "commands" can get extended easier

All changes

  • make it easier to fork the project with custom commands (part 2) (#214) @brainexe
  • make it easier to fork the project with custom commands (part 1) (#212) @brainexe
  • build(deps): bump docker/build-push-action from 2.6.1 to 2.7.0 (#213) @dependabot
  • prepare for go 1.17 (drop go 1.15 support) (#211) @brainexe
  • actions: added "gosec" security checker (#209) @brainexe
slack-bot - v2.2.2 - bunch of small improvements!

Published by github-actions[bot] about 3 years ago

What’s Changed

  • new "ping" command (#206) @brainexe
  • enhancement: add "make air" to use auto reload while development (#197) @brainexe
  • enhancement: improve "list template functions" command (show function arguments + types) (#194) @brainexe
  • feature: add template function {{ countBackgroundJobs }} (#191) @brainexe
  • enhancement: Add support for native emojis as unicode (#189) @brainexe

Fixes

  • fix: on mac copied message might contain a NO-BREAK-WHITESPACE -> convert them to usual spaces (#201) @brainexe
  • log messages: don't log a "durationWithLatency" for internal messages (#205) @brainexe

Internal

  • internal: cleaned up unused dependencies (#186) @brainexe
  • internal: some more jenkins tests (#196) @brainexe
  • internal: small cleanup (#195) @brainexe

Dependencies

  • build(deps): bump github.com/xanzy/go-gitlab from 0.50.1 to 0.50.2 (#200) @dependabot
  • build(deps): bump wangyoucao577/go-release-action from 1.18 to 1.19 (#192) @dependabot
  • build(deps): bump codecov/codecov-action from 1 to 2.0.1 (#190) @dependabot
  • build(deps): bump github.com/slack-go/slack from 0.9.3 to 0.9.4 (#199) @dependabot
  • build(deps): bump github.com/andygrunwald/go-jira from 1.13.0 to 1.14.0 (#202) @dependabot
slack-bot - v2.2.1 - make proper "v2" version

Published by github-actions[bot] over 3 years ago

What’s Changed

I somehow fucked up the versioning and created the 2.0.0 some time ago due to very major changes in the structure...but in go this requires some deeper changes in the packages names/version

So from now on the package name changed from "github.com/innogames/slack-bot" => "github.com/innogames/slack-bot/v2"

Now go get github.com/innogames/slack-bot/[email protected] is working again and is not sticked to a verrrry old 1.7.0 version!

All other changes

  • make proper .v2 version (#183) @brainexe
  • fixed build for linux/386 due to "overflows int" (#182) @brainexe
  • enh: Jenkins parameter polishing (#181) @brainexe
slack-bot - v2.1.4 - more reactions + help button

Published by github-actions[bot] over 3 years ago

What’s Changed

Bildschirmfoto vom 2021-07-13 19-51-57

  • more reactions :) (#178) @brainexe
  • fix: comments on jira tickets wasn't working (#177) @brainexe
  • fix: change viper key delimiter to support "-" in config map keys (#176) @brainexe
Package Rankings
Top 5.15% on Proxy.golang.org
Badges
Extracted from project README
Actions Status PkgGoDev Go Report Card Release codecov License: MIT Docker Mentioned in Awesome Go