Carlos Alexandro Becker
c91c4b7cd8
feat: improve template error handling ( #4256 )
...
- wrap the multiple errors in an internal error with cleaner messaging
- improve testlib.RequireTemplateError and several tests
2023-08-24 22:06:12 -03:00
Carlos Alexandro Becker
f544c5ce69
test: testctx pkg ( #3807 )
...
alternative to #3806
the idea is that both `context.New` and `context.Context{}` are never
used in tests.
not sure yet how much I like it, so far code does look a bit more
readable though.
---------
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-03-02 00:01:11 -03:00
Carlos Alexandro Becker
47ce9a9b33
fix: only fail announcing phase in the end ( #3666 )
...
This prevents one announce failure to skip all other announcers.
The release will still report a failure in the end, but will not fail in
the first failure.
Also improved errors messages a little bit.
closes #3663
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-12-28 12:24:21 -03:00
Carlos Alexandro Becker
8cb4eb1654
fix: ruleguard and semgrep scans and fixes ( #3364 )
...
run semgrep-go ruleguard and semgrep scans
https://github.com/dgryski/semgrep-go
Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2022-09-11 15:32:23 -03:00
Ahmed
c0e5e3b90f
refactor: use os and io instead of ioutil ( #2676 )
2021-11-21 11:10:08 -03:00
Carlos Alexandro Becker
a2ba9cb8fa
refactor: release url ( #2637 )
...
* refactor: release url
* chore: fmt
* chore: less diffs
* docs: lowercase everything
* chore: improve fmt
* chore: revert
2021-11-06 16:54:01 -03:00
Batuhan Apaydın
b99ccc029c
feat: add message template support for git providers ( #2626 )
...
* feat: add message template support for git providers
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
Co-authored-by: Furkan Türkal <furkan.turkal@trendyol.com>
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>
Signed-off-by: Batuhan Apaydın <batuhan.apaydin@trendyol.com>
* Apply suggestions from code review
Co-authored-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
Co-authored-by: Furkan Türkal <furkan.turkal@trendyol.com>
Co-authored-by: Erkan Zileli <erkan.zileli@trendyol.com>
2021-11-06 15:39:43 -03:00
Carlos Tadeu Panato Junior
519a4f67c5
feat: announce: mattermost ( #2536 )
...
Signed-off-by: Carlos Panato <ctadeu@gmail.com>
2021-09-28 20:18:35 -03:00