diff --git a/.github/workflows/lint-test-build-golang.yml b/.github/workflows/lint-test-build-golang.yml index 0c768a13..4a4c674c 100644 --- a/.github/workflows/lint-test-build-golang.yml +++ b/.github/workflows/lint-test-build-golang.yml @@ -1,6 +1,16 @@ name: Lint, Test and Build golang on: + push: + branches: ["develop"] + paths: [ + "occupi-backend/cmd/**", + "occupi-backend/configs/**", + "occupi-backend/pkg/**", + "occupi-backend/.golangci.yml", + "occupi-backend/tests/**", + ".github/workflows/lint-test-build-golang.yml" + ] pull_request: branches: ["develop"] paths: [ @@ -9,6 +19,7 @@ on: "occupi-backend/pkg/**", "occupi-backend/.golangci.yml", "occupi-backend/tests/**", + ".github/workflows/lint-test-build-golang.yml" ] workflow_dispatch: