Skip to content

Commit

Permalink
Add version branches to the GitHub workflows (#246)
Browse files Browse the repository at this point in the history
  • Loading branch information
reugn authored Nov 4, 2024
1 parent f35916d commit 0e955f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
pull_request:
branches:
- main
- 'v[0-9]+'

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ name: golangci-lint
on:
push:
branches:
- '*'
- '**'
pull_request:
branches:
- main
- 'v[0-9]+'

permissions:
contents: read
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/snyk-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ on:
push:
branches:
- main
- 'v[0-9]+'
pull_request:
branches:
- main
- 'v[0-9]+'

jobs:
snyk-security:
Expand Down

0 comments on commit 0e955f2

Please sign in to comment.