ci: enable workflows for `release/**` branches
Signed-off-by: Hidde Beydals <hidde@hhh.computer>
This commit is contained in:
parent
f2857e69dc
commit
bb2ab59d5c
|
|
@ -2,7 +2,8 @@ name: fuzz
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- 'main'
|
||||||
|
- 'release/**'
|
||||||
paths-ignore:
|
paths-ignore:
|
||||||
- 'CHANGELOG.md'
|
- 'CHANGELOG.md'
|
||||||
- 'README.md'
|
- 'README.md'
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,8 @@ on:
|
||||||
- 'MAINTAINERS'
|
- 'MAINTAINERS'
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- 'main'
|
||||||
|
- 'release/**'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
|
|
@ -28,8 +29,8 @@ jobs:
|
||||||
**/go.sum
|
**/go.sum
|
||||||
**/go.mod
|
**/go.mod
|
||||||
- name: Enable integration tests
|
- name: Enable integration tests
|
||||||
# Only run integration tests for main branch
|
# Only run integration tests for main and release branches
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')
|
||||||
run: |
|
run: |
|
||||||
echo 'GO_TAGS=integration' >> $GITHUB_ENV
|
echo 'GO_TAGS=integration' >> $GITHUB_ENV
|
||||||
- name: Setup Kubernetes
|
- name: Setup Kubernetes
|
||||||
|
|
@ -63,8 +64,8 @@ jobs:
|
||||||
**/go.sum
|
**/go.sum
|
||||||
**/go.mod
|
**/go.mod
|
||||||
- name: Enable integration tests
|
- name: Enable integration tests
|
||||||
# Only run integration tests for main branch
|
# Only run integration tests for main and release branches
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')
|
||||||
run: |
|
run: |
|
||||||
echo 'GO_TAGS=integration' >> $GITHUB_ENV
|
echo 'GO_TAGS=integration' >> $GITHUB_ENV
|
||||||
- name: Prepare
|
- name: Prepare
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,9 @@ name: scan
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ 'main', 'release/**' ]
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ 'main', 'release/**' ]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '18 10 * * 3'
|
- cron: '18 10 * * 3'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@ on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- 'main'
|
||||||
|
- 'release/**'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,8 @@ on:
|
||||||
|
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- 'main'
|
||||||
|
- 'release/**'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # for actions/checkout to fetch code
|
contents: read # for actions/checkout to fetch code
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue