Skip to content

Commit

Permalink
Run actions on releases branches
Browse files Browse the repository at this point in the history
Signed-off-by: Kemal Akkoyun <[email protected]>
  • Loading branch information
kakkoyun committed Jul 29, 2022
1 parent 9eca442 commit c475f74
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 21 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Go

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
branches: [ main ]
branches:
- main
- release-*

env:
# renovate: datasource=docker depName=docker.io/multiarch/qemu-user-static versioning=regex:^(?<major>\\d+)\\.(?<minor>\\d+)\\.(?<patch>\\d+)-(?<build>\\d+)$
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/codeql-analysis-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ name: "CodeQL"

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches:
- main
- release-*
schedule:
- cron: '19 8 * * 1'

Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/codeql-analysis-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ name: "CodeQL"

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches:
- main
- release-*
schedule:
- cron: '19 8 * * 1'

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Container

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
branches: [ main ]
branches:
- main
- release-*

env:
# renovate: datasource=go depName=github.com/goreleaser/goreleaser
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Documents

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
branches: [ main ]
branches:
- main
- release-*

jobs:
skip-check:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/go-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@ on:
push:
tags:
- v*
branches: [ main ]
branches:
- main
- release-*
pull_request:
branches: [ main ]
branches:
- main
- release-*

env:
# renovate: datasource=go depName=github.com/golangci/golangci-lint
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/jsonnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Jsonnet

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
branches: [ main ]
branches:
- main
- release-*

jobs:
skip-check:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/proto-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ name: proto-push

on:
push:
branches: [ main ]
branches:
- main
- release-*

jobs:
skip-check:
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/release-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: Release (Dry Run)

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
branches: [ main ]
branches:
- main
- release-*

env:
# renovate: datasource=go depName=github.com/goreleaser/goreleaser
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ name: UI

on:
push:
branches: [ main ]
branches:
- main
- release-*
pull_request:
branches: [ main ]
branches:
- main
- release-*

jobs:
skip-check:
Expand Down

0 comments on commit c475f74

Please sign in to comment.