Skip to content

Commit

Permalink
check for test-ci branch in workflow
Browse files Browse the repository at this point in the history
Signed-off-by: rksharma95 <[email protected]>
  • Loading branch information
rksharma95 committed Sep 7, 2023
1 parent 96c38b8 commit 81176ea
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/ci-path-filter-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,18 @@ jobs:
- name: not main branch
run: |
echo "not main branch"
test-ci-branch:
name: Check if it's test-ci branch
needs: check
if: ${{ github.ref }} == 'refs/heads/test-ci'
runs-on: ubuntu-20.04
steps:

- name: test-ci branch
run: |
echo "test-ci branch"
kubearmor:
name: check if kubearmor pkg got updated.
needs: check
Expand All @@ -90,6 +102,7 @@ jobs:
- name: update kubearmor
run: |
echo "kubearmor pkg updated"
kubearmor-and-not-main-branch:
name: check if kubearmor pkg got updated and pushed on non-main-branch.
needs: check
Expand All @@ -100,6 +113,7 @@ jobs:
- name: update kubearmor on non-main-branch
run: |
echo "kubearmor pkg updated on non-main-branch"
my-repo-and-kubearmor-on-not-main-branch:
name: check if kubearmor pkg got updated or pushed on non-main-branch on my repo itself.
needs: check
Expand Down

0 comments on commit 81176ea

Please sign in to comment.