Skip to content

Commit d92bd6f

Browse files
new commit
Signed-off-by: Aryan-sharma11 <aryan1126.sharma@gmail.com>
1 parent 3af6e93 commit d92bd6f

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/ci-latest-release.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: ci-latest-release
22

33
on:
44
push:
5-
# branches:
6-
# - "main"
7-
# - "v*"
5+
branches: [main]
86
paths:
97
- "KubeArmor/**"
108
- "protobuf/**"
@@ -13,10 +11,18 @@ on:
1311
- "!STABLE-RELEASE"
1412
pull_request:
1513
branches: [main]
14+
paths:
15+
- "KubeArmor/**"
16+
- "tests/**"
17+
- "protobuf/**"
18+
- ".github/workflows/ci-test-ginkgo.yml"
19+
- "examples/multiubuntu/build/**"
20+
- "pkg/KubeArmorOperator/**"
21+
- "deployments/helm/**"
1622

17-
create:
18-
branches:
19-
- "v*"
23+
# create:
24+
# branches:
25+
# - "v*"
2026

2127
# Declare default permissions as read only.
2228
permissions: read-all
@@ -45,8 +51,8 @@ jobs:
4551
build:
4652
name: Create KubeArmor latest release
4753
needs: check
48-
if: github.repository == 'aryan1126/kubearmor' && (needs.check.outputs.kubearmor == 'true' || ${{ github.ref }} != 'refs/heads/main')
49-
runs-on: ubuntu-latest-16-cores
54+
if: github.repository == 'aryan1126/kubearmor'
55+
runs-on: ubuntu-20.04
5056
permissions:
5157
id-token: write
5258
timeout-minutes: 150

0 commit comments

Comments
 (0)