Skip to content

Commit

Permalink
ci(workflows): listen to v* branch
Browse files Browse the repository at this point in the history
  • Loading branch information
HotPotatoC committed Nov 9, 2021
1 parent 6724c04 commit 05f88aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Lint

on:
push:
branches: [master]
branches: [master, v*]
pull_request:
branches: [master]
branches: [master, v*]

jobs:
lint:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/publish_server_docker_image.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: Publish kvstore server image
on:
push:
branches:
- "master"
tags:
- "v*"
branches: [master, v*]
tags: ["v*"]

jobs:
push_to_registry:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: goreleaser

on:
push:
tags:
- "*"
tags: ["*"]

jobs:
goreleaser:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Ci

on:
push:
branches: [master]
branches: [master, v*]
pull_request:
branches: [master]
branches: [master, v*]

jobs:
test:
Expand Down

0 comments on commit 05f88aa

Please sign in to comment.