diff --git a/.github/workflows/k3s-flannel-ubuntu-22.yml b/.github/workflows/k3s-flannel-ubuntu-22.yml index 58cbc6b8a..d5cc08878 100644 --- a/.github/workflows/k3s-flannel-ubuntu-22.yml +++ b/.github/workflows/k3s-flannel-ubuntu-22.yml @@ -11,6 +11,7 @@ on: default: 'k3s-flannel-ubuntu-22' jobs: build: + if: github.repository == 'loxilb-io/loxilb' name: k3s-flannel-sanity-ubuntu-22 runs-on: self-hosted steps: @@ -18,7 +19,6 @@ jobs: with: submodules: recursive - name: Run k3s-flannel CICD - if: github.repository == 'loxilb-io/loxilb' run: | echo "KUBECONFIG=--kubeconfig=/etc/rancher/k3s/k3s.yaml" >> $GITHUB_ENV echo "ubuntu=22.04" >> $GITHUB_ENV diff --git a/.github/workflows/k3s-flannel.yml b/.github/workflows/k3s-flannel.yml index 175ac4d1a..0d697cd01 100644 --- a/.github/workflows/k3s-flannel.yml +++ b/.github/workflows/k3s-flannel.yml @@ -11,6 +11,7 @@ on: default: 'k3s-flannel' jobs: build: + if: github.repository == 'loxilb-io/loxilb' name: k3s-flannel-sanity runs-on: self-hosted steps: @@ -18,7 +19,6 @@ jobs: with: submodules: recursive - name: Run k3s-flannel CICD - if: github.repository == 'loxilb-io/loxilb' run: | echo "KUBECONFIG=--kubeconfig=/etc/rancher/k3s/k3s.yaml" >> $GITHUB_ENV echo "ubuntu=20.04" >> $GITHUB_ENV