Skip to content

Commit

Permalink
Merge pull request #1110 from openshift-kni/gh-actions-stable-branches
Browse files Browse the repository at this point in the history
ghactions: enable on stable branches
  • Loading branch information
ffromani authored Dec 11, 2024
2 parents 169e3fd + c176b9a commit 2fe6dd4
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 8 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
name: CI Base

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches:
- main
- "release-4.1[8]"
push:
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

env:
GOLANG_VERSION: 1.23.3
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-local.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
pull_request:
branches:
- main
- "release-4.1[8]"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/e2e-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
pull_request:
branches:
- main
- "release-4.1[8]"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+"

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ on:
pull_request:
branches:
- main
- "release-4.1[8]"
tags:
- "v[0-9]+.[0-9]+.[0-9]+"
- "v[0-9]+.[0-9]+"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

defaults:
run:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/golangci-lint.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
name: CI Linter with golangci-lint

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
branches:
- main
- "release-4.1[8]"
push:
branches:
- main

defaults:
run:
Expand Down

0 comments on commit 2fe6dd4

Please sign in to comment.