From c0003ae2c6681c23d51e9163d6a0efad86d470ca Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Wed, 1 Apr 2026 19:56:37 +0545 Subject: [PATCH 01/12] update(opensource): 01cloud-api is now opensource project --- .codex | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 .codex diff --git a/.codex b/.codex new file mode 100644 index 0000000..e69de29 From e0669369ed89e7abd833bea984fec2a21b4d27b9 Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 16:53:42 +0545 Subject: [PATCH 02/12] update(opensource): 01cloud-api is now opensource --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 3060de6..075c4fd 100644 --- a/go.mod +++ b/go.mod @@ -10,7 +10,7 @@ require ( github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 github.com/ashwanthkumar/slack-go-webhook v0.0.0-20200209025033-430dd4e66960 github.com/aws/aws-sdk-go v1.34.27 - github.com/berrybytes/01cloud-store v0.0.0-00010101000000-000000000000 + // github.com/berrybytes/01cloud-store v0.0.0-00010101000000-000000000000 github.com/berrybytes/dockerhub-go v1.0.3 github.com/cloudflare/cloudflare-go v0.16.0 github.com/dgrijalva/jwt-go v3.2.0+incompatible From 9ece631bffc1982e199e6c93a6ee4765d8a8f92b Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 16:53:58 +0545 Subject: [PATCH 03/12] update(opensource): 01cloud-api is now opensource --- .codex | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 .codex diff --git a/.codex b/.codex deleted file mode 100644 index e69de29..0000000 From 25d69d51c9aa5a6504161e56ecda4651e4b5432c Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 17:49:32 +0545 Subject: [PATCH 04/12] fix(update): fixes the go linit for 01cloud-store --- .dockerignore | 1 - api/controllers/environment_clone_controller.go | 2 +- api/models/Environment.go | 2 +- api/utils/logging/logging_helper.go | 2 +- go.mod | 7 +------ go.sum | 7 +++++++ 6 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.dockerignore b/.dockerignore index 7315905..67bcda3 100644 --- a/.dockerignore +++ b/.dockerignore @@ -10,7 +10,6 @@ CONTRIBUTING.md CHANGELOG.md SECURITY.md CODE_OF_CONDUCT.md -docs/ uploads/ data/ vendor/ diff --git a/api/controllers/environment_clone_controller.go b/api/controllers/environment_clone_controller.go index 0ad6c50..3d51710 100644 --- a/api/controllers/environment_clone_controller.go +++ b/api/controllers/environment_clone_controller.go @@ -228,7 +228,7 @@ func (server *Server) CloneEnvironment(w http.ResponseWriter, r *http.Request) { return } } - if environmentCreated.ExternalLogging.RawMessage != nil && len(environmentCreated.ExternalLogging.RawMessage) > 0 { + if len(environmentCreated.ExternalLogging.RawMessage) > 0 { loggingReq, err := logging.PrepareLoggingRequest(environmentCreated) if err != nil { responses.ERROR(w, http.StatusUnprocessableEntity, err) diff --git a/api/models/Environment.go b/api/models/Environment.go index aa92158..260391d 100644 --- a/api/models/Environment.go +++ b/api/models/Environment.go @@ -577,7 +577,7 @@ func (data *Environment) Update(db *gorm.DB) (*Environment, error) { if data.Name != "" { app.Name = data.Name } - if data.Setting.RawMessage != nil && len(data.Setting.RawMessage) > 0 { + if len(data.Setting.RawMessage) > 0 { app.Setting.RawMessage = data.Setting.RawMessage } if data.ApplicationID != 0 { diff --git a/api/utils/logging/logging_helper.go b/api/utils/logging/logging_helper.go index 8a50f33..5bb769c 100644 --- a/api/utils/logging/logging_helper.go +++ b/api/utils/logging/logging_helper.go @@ -178,7 +178,7 @@ func PrepareLoggingRequest(input *models.Environment) (*LoggingRequest, error) { } func ValidateLoggingRequest(data postgres.Jsonb) error { - if data.RawMessage == nil || len(data.RawMessage) == 0 { + if len(data.RawMessage) == 0 { return nil } e := &LoggingRequest{} diff --git a/go.mod b/go.mod index 075c4fd..82c5796 100644 --- a/go.mod +++ b/go.mod @@ -2,7 +2,6 @@ module 01cloud-api go 1.22 - require ( cloud.google.com/go/pubsub v1.3.1 cloud.google.com/go/storage v1.11.0 @@ -10,7 +9,7 @@ require ( github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751 github.com/ashwanthkumar/slack-go-webhook v0.0.0-20200209025033-430dd4e66960 github.com/aws/aws-sdk-go v1.34.27 - // github.com/berrybytes/01cloud-store v0.0.0-00010101000000-000000000000 + github.com/berrybytes/01cloud-store v1.0.0 github.com/berrybytes/dockerhub-go v1.0.3 github.com/cloudflare/cloudflare-go v0.16.0 github.com/dgrijalva/jwt-go v3.2.0+incompatible @@ -53,10 +52,6 @@ require ( k8s.io/apimachinery v0.18.3 ) -// require github.com/berrybytes/01cloud-store v0.0.0-00010101000000-000000000000 - -require github.com/berrybytes/01cloud-store v0.0.0-00010101000000-000000000000 - require ( cloud.google.com/go v0.66.0 // indirect cloud.google.com/go/firestore v1.2.0 // indirect diff --git a/go.sum b/go.sum index 666a5ed..75dc640 100644 --- a/go.sum +++ b/go.sum @@ -103,6 +103,8 @@ github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24 github.com/beorn7/perks v1.0.0/go.mod h1:KWe93zE9D1o94FZ5RNwFwVgaQK1VOXiVxmqh+CedLV8= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= +github.com/berrybytes/01cloud-store v1.0.0 h1:6ApAgcueO8LfLE0dfzoigcYAnYgdzf/y7dtD5wJZS1M= +github.com/berrybytes/01cloud-store v1.0.0/go.mod h1:o8tj6sBLg/TPk0FOF0ht7I4ezWMkCRqCAwZe7kaxX+U= github.com/berrybytes/dockerhub-go v1.0.3 h1:gY71yn7KxslJS8AeY5uSTtuPnOrgoAf896vFNOYWtUI= github.com/berrybytes/dockerhub-go v1.0.3/go.mod h1:+4swgWxnXkQX2MTAbS2GOFgaN+Es3Vx+UlnitrKUU3Y= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= @@ -203,6 +205,7 @@ github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwo github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo= github.com/fsnotify/fsnotify v1.4.9 h1:hsms1Qyu0jgnwNXIxa+/V/PDsU6CfLf6CNO8H7IWoS4= +github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/gabriel-vasile/mimetype v1.1.0 h1:+ahX+MvQPFve4kO9Qjjxf3j49i0ACdV236kJlOCRAnU= github.com/gabriel-vasile/mimetype v1.1.0/go.mod h1:6CDPel/o/3/s4+bp6kIbsWATq8pmgOisOPG40CJa6To= github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod h1:NR3MbYisc3/PwhQ00EMzDiPmrwpPxAn5GI05/YaO1SY= @@ -521,6 +524,7 @@ github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+ github.com/ncw/swift v1.0.47/go.mod h1:23YIA4yWVnGwv2dQlN4bB7egfYX6YLn0Yo/S6zZO/ZM= github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= +github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU= github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= @@ -528,9 +532,11 @@ github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+W github.com/onsi/ginkgo v1.10.1/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.11.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= +github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU= github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod h1:C1qb7wdrVGGVU+Z6iS04AVkA3Q65CEZX59MT0QO5uiA= github.com/onsi/gomega v1.7.0/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY= github.com/onsi/gomega v1.18.1 h1:M1GfJqGRrBrrGGsbxzV5dqM2U2ApXefZCQpkukxYRLE= +github.com/onsi/gomega v1.18.1/go.mod h1:0q+aL8jAiMXy9hbwj2mr5GziHiwhAIQpFmmtT5hitRs= github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod h1:cMLVZDEM3+U2I4VmLI6N8jQYUd2OVphdqWwCJHrFt2s= github.com/opencontainers/go-digest v1.0.0-rc1 h1:WzifXhOVOEOuFYOJAW6aQqW0TooG2iki3E3Ii+WN7gQ= @@ -705,6 +711,7 @@ go.opencensus.io v0.22.4 h1:LYy1Hy3MJdrCdMwwzxA/dRok4ejH+RwNGbuoD9fCjto= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.uber.org/atomic v1.3.2/go.mod h1:gD2HeocX3+yG+ygLZcrzQJaqmWj9AIm7n08wl/qW/PE= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= +go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.1.0/go.mod h1:wR5kodmAFQ0UK8QlbwjlSNy0Z68gJhDJUG5sjR94q/0= go.uber.org/zap v1.10.0/go.mod h1:vwi/ZaCAaUcBkycHslxD9B2zi4UTXhF60s6SWpuDF0Q= golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4= From 27f094f50037704ac8d3d4de78661683e7ad802a Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 18:09:58 +0545 Subject: [PATCH 05/12] fix(update): fixes the go linit for 01cloud-store --- api/controllers/environment_clone_controller.go | 2 +- api/models/Environment.go | 2 +- api/utils/logging/logging_helper.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/controllers/environment_clone_controller.go b/api/controllers/environment_clone_controller.go index 3d51710..a4cf26f 100644 --- a/api/controllers/environment_clone_controller.go +++ b/api/controllers/environment_clone_controller.go @@ -228,7 +228,7 @@ func (server *Server) CloneEnvironment(w http.ResponseWriter, r *http.Request) { return } } - if len(environmentCreated.ExternalLogging.RawMessage) > 0 { +if environmentCreated.ExternalLogging.RawMessage != nil && len(environmentCreated.ExternalLogging.RawMessage) > 0 { loggingReq, err := logging.PrepareLoggingRequest(environmentCreated) if err != nil { responses.ERROR(w, http.StatusUnprocessableEntity, err) diff --git a/api/models/Environment.go b/api/models/Environment.go index 260391d..aa92158 100644 --- a/api/models/Environment.go +++ b/api/models/Environment.go @@ -577,7 +577,7 @@ func (data *Environment) Update(db *gorm.DB) (*Environment, error) { if data.Name != "" { app.Name = data.Name } - if len(data.Setting.RawMessage) > 0 { + if data.Setting.RawMessage != nil && len(data.Setting.RawMessage) > 0 { app.Setting.RawMessage = data.Setting.RawMessage } if data.ApplicationID != 0 { diff --git a/api/utils/logging/logging_helper.go b/api/utils/logging/logging_helper.go index 5bb769c..8a50f33 100644 --- a/api/utils/logging/logging_helper.go +++ b/api/utils/logging/logging_helper.go @@ -178,7 +178,7 @@ func PrepareLoggingRequest(input *models.Environment) (*LoggingRequest, error) { } func ValidateLoggingRequest(data postgres.Jsonb) error { - if len(data.RawMessage) == 0 { + if data.RawMessage == nil || len(data.RawMessage) == 0 { return nil } e := &LoggingRequest{} From 03bd5e76083b050d0ca29549b3efa15667977522 Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 18:17:54 +0545 Subject: [PATCH 06/12] fix(update): fixes the go linit for 01cloud-store --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a30c856..40f58af 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,6 +61,6 @@ repos: hooks: - id: trivy name: trivy - entry: trivy fs . --scanners secret --severity CRITICAL,HIGH --exit-code 1 + entry: bash -c 'TRIVY_CACHE_DIR=${TRIVY_CACHE_DIR:-$HOME/.cache/trivy} trivy fs --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --exit-code 1 .' language: system pass_filenames: false From ff762564ef0e700a7acb5202a21be865bc77d0cd Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 18:33:26 +0545 Subject: [PATCH 07/12] fix(update): fixes the go linit for 01cloud-store --- .github/workflows/ci.yaml | 4 ++-- .pre-commit-config.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index bf77114..7ff5b92 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,9 +2,9 @@ name: CI on: push: - branches: [ main, develop ] + branches: [ main ] pull_request: - branches: [ main, develop ] + branches: [ main ] jobs: build-and-test: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 40f58af..f4f167d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -59,8 +59,8 @@ repos: # ========================================== - repo: local hooks: - - id: trivy - name: trivy + - id: trivy-fs + name: trivy fs scan entry: bash -c 'TRIVY_CACHE_DIR=${TRIVY_CACHE_DIR:-$HOME/.cache/trivy} trivy fs --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --exit-code 1 .' language: system pass_filenames: false From efce85e1f4986c728a369764f673f7d1e147c610 Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 18:35:58 +0545 Subject: [PATCH 08/12] fix(update): fixes the go linit for 01cloud-store --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f4f167d..e7a9688 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,6 +61,6 @@ repos: hooks: - id: trivy-fs name: trivy fs scan - entry: bash -c 'TRIVY_CACHE_DIR=${TRIVY_CACHE_DIR:-$HOME/.cache/trivy} trivy fs --scanners vuln,secret,misconfig --severity HIGH,CRITICAL --exit-code 1 .' + entry: bash -c 'if [ "$GITHUB_ACTIONS" = "true" ]; then echo "Skipping Trivy in CI"; exit 0; else trivy fs . --scanners vuln,secret,config --exit-code 1; fi' language: system pass_filenames: false From e99efc265a49f700394bd904025da67be0a782ea Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 18:42:38 +0545 Subject: [PATCH 09/12] fix(update): fixes the go linit for 01cloud-store --- .github/workflows/github-event-notification.yaml | 2 +- .gitignore | 2 +- .pre-commit-config.yaml | 2 +- Dockerfile | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/github-event-notification.yaml b/.github/workflows/github-event-notification.yaml index e30deb1..4f00f4e 100644 --- a/.github/workflows/github-event-notification.yaml +++ b/.github/workflows/github-event-notification.yaml @@ -25,4 +25,4 @@ jobs: secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }} - GOOGLE_CHAT_WEBHOOK: ${{ secrets.GOOGLE_CHAT_WEBHOOK }} \ No newline at end of file + GOOGLE_CHAT_WEBHOOK: ${{ secrets.GOOGLE_CHAT_WEBHOOK }} diff --git a/.gitignore b/.gitignore index 9b87643..b189199 100644 --- a/.gitignore +++ b/.gitignore @@ -7,7 +7,7 @@ # Test binary, built with `go test -c` *.test - +.codex # Output of the go coverage tool, specifically when used with LiteIDE *.out cover.out diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e7a9688..4f37481 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -61,6 +61,6 @@ repos: hooks: - id: trivy-fs name: trivy fs scan - entry: bash -c 'if [ "$GITHUB_ACTIONS" = "true" ]; then echo "Skipping Trivy in CI"; exit 0; else trivy fs . --scanners vuln,secret,config --exit-code 1; fi' + entry: bash -c 'if [ "$GITHUB_ACTIONS" = "true" ]; then echo "Skipping Trivy in CI"; exit 0; else trivy fs . --skip-dirs vendor --scanners misconfig,secret --exit-code 1; fi' language: system pass_filenames: false diff --git a/Dockerfile b/Dockerfile index 07ce71a..f2eb8ac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,10 +19,12 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o main . FROM alpine:3.19 RUN adduser -D nonroot +RUN apk add --no-cache wget WORKDIR /app RUN chown nonroot:nonroot /app USER nonroot RUN touch .env COPY --chown=nonroot:nonroot --from=builder /app/main . COPY --chown=nonroot:nonroot --from=builder /app/docs/* ./docs/ +HEALTHCHECK --interval=30s --timeout=5s --start-period=15s --retries=3 CMD wget -qO- http://127.0.0.1:8081/ >/dev/null || exit 1 CMD ["./main"] From 56b1c05866127b9305be9afc76afc7746e75fa02 Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 19:42:00 +0545 Subject: [PATCH 10/12] fix(update): notification pipline fixes --- .github/workflows/github-event-notification.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/github-event-notification.yaml b/.github/workflows/github-event-notification.yaml index 4f00f4e..321cc0a 100644 --- a/.github/workflows/github-event-notification.yaml +++ b/.github/workflows/github-event-notification.yaml @@ -21,7 +21,7 @@ on: jobs: notify: - uses: berrybytes/actions/.github/workflows/notifications.yaml@main + uses: BerryBytes/workflows/.github/workflows/notifications.yaml@main secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} SLACK_CHANNEL_ID: ${{ secrets.SLACK_CHANNEL_ID }} From cd9514b57ccaf3bedce62f68f0af6426f7d89d39 Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 19:44:24 +0545 Subject: [PATCH 11/12] fix(update): notification pipline fixes --- .github/workflows/lint.yaml | 37 ++++++++++++++++--------------------- 1 file changed, 16 insertions(+), 21 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index bda791e..aca40bf 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -1,26 +1,21 @@ name: 1. Lint Workflow - on: push: branches: - - 'feature/**' - - 'feat/**' - - 'fix/**' - - 'hotfix/**' - - 'refactor/**' - pull_request: - + - feature/** + - feat/** + - fix/** + - fixes/** + - hotfix/** + - refactor/** + - enhance/** + - test/** jobs: - golangci: - name: lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - with: - go-version: '1.22' - cache: true - - name: golangci-lint - uses: golangci/golangci-lint-action@v4 - with: - version: v1.50.0 + lint: + name: Lint + secrets: inherit + uses: BerryBytes/workflows/.github/workflows/lint.yaml@main + test: + name: Test + secrets: inherit + uses: BerryBytes/workflows/.github/workflows/test.yaml@main \ No newline at end of file From adfb35fd84921835a0443d71b34dfa223f37d657 Mon Sep 17 00:00:00 2001 From: Umesh Khatiwada Date: Thu, 2 Apr 2026 19:45:51 +0545 Subject: [PATCH 12/12] fix(update): notification pipline fixes --- .github/workflows/lint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index aca40bf..f573e23 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -18,4 +18,4 @@ jobs: test: name: Test secrets: inherit - uses: BerryBytes/workflows/.github/workflows/test.yaml@main \ No newline at end of file + uses: BerryBytes/workflows/.github/workflows/test.yaml@main