diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0b97e49b..3c9faf15 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,6 +6,7 @@ on: pull_request: branches: - main + - 'v[0-9]+' jobs: build: diff --git a/.github/workflows/golangci-lint.yml b/.github/workflows/golangci-lint.yml index fffe663d..f011c588 100644 --- a/.github/workflows/golangci-lint.yml +++ b/.github/workflows/golangci-lint.yml @@ -2,10 +2,11 @@ name: golangci-lint on: push: branches: - - '*' + - '**' pull_request: branches: - main + - 'v[0-9]+' permissions: contents: read diff --git a/.github/workflows/snyk-scan.yml b/.github/workflows/snyk-scan.yml index 13fc1ebd..97e298c9 100644 --- a/.github/workflows/snyk-scan.yml +++ b/.github/workflows/snyk-scan.yml @@ -3,9 +3,11 @@ on: push: branches: - main + - 'v[0-9]+' pull_request: branches: - main + - 'v[0-9]+' jobs: snyk-security: