Skip to content

Commit 691907b

Browse files
committed
ci: ignore build/e2e test on dependabot
1 parent 97a0eaf commit 691907b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464

6565
e2e:
6666
name: E2E Test
67+
if: github.actor!= 'dependabot-preview[bot]'
6768
needs:
6869
- verify
6970
- image-build
@@ -75,12 +76,6 @@ jobs:
7576
steps:
7677
- name: Checkout
7778
uses: actions/checkout@v4
78-
- name: Login to GitHub Container Registry
79-
uses: docker/login-action@v3
80-
with:
81-
registry: ghcr.io
82-
username: ${{ github.actor }}
83-
password: ${{ secrets.GITHUB_TOKEN }}
8479
- name: Setup Skaffold
8580
uses: heypigeonhq/setup-skaffold@v1.0.0
8681
with:
@@ -90,7 +85,10 @@ jobs:
9085
- name: Bootstrap
9186
run: |
9287
kustomize build --enable-helm config/bootstrap | kubectl apply -f -
93-
kubectl --namespace cert-manager wait --for=condition=Available deployment/cert-manager-webhook
88+
kubectl wait deployment/cert-manager-webhook \
89+
--namespace cert-manager \
90+
--for=condition=Available \
91+
--timeout=5m
9492
kubectl get namespace sandbox 2>/dev/null || kubectl create namespace sandbox
9593
mkdir build/
9694
- name: Download image tags
@@ -112,6 +110,7 @@ jobs:
112110

113111
coverage:
114112
name: Coverage Report
113+
if: github.actor!= 'dependabot-preview[bot]'
115114
needs:
116115
- verify
117116
- e2e

0 commit comments

Comments
 (0)