Skip to content

Commit d91b679

Browse files
committed
[actions] disable build for dependabot
1 parent 747edc8 commit d91b679

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.github/workflows/docker-build.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,12 @@ jobs:
4747
4848
- name: Log into Docker Hub
4949
uses: docker/login-action@v3
50-
if: github.actor != 'dependabot[bot]'
5150
with:
5251
username: ${{ secrets.username }}
5352
password: ${{ secrets.password }}
5453

5554
- name: Login to Container registry
5655
uses: docker/login-action@v3
57-
if: github.actor != 'dependabot[bot]'
5856
with:
5957
registry: ghcr.io
6058
username: ${{ github.repository_owner }}
@@ -81,7 +79,6 @@ jobs:
8179
APP=${{ inputs.app-name }}
8280
APP_VERSION=${{ env.APP_VERSION }}
8381
APP_RELEASE_ID=${{ env.APP_RELEASE }}
84-
push: ${{ github.actor != 'dependabot[bot]' }}
8582
labels: ${{ steps.meta.outputs.labels }}
8683
outputs: type=image,"name=${{ env.DOCKERHUB_REPO }},${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
8784

@@ -116,14 +113,12 @@ jobs:
116113

117114
- name: Log into Docker Hub
118115
uses: docker/login-action@v3
119-
if: github.actor != 'dependabot[bot]'
120116
with:
121117
username: ${{ secrets.username }}
122118
password: ${{ secrets.password }}
123119

124120
- name: Login to Container registry
125121
uses: docker/login-action@v3
126-
if: github.actor != 'dependabot[bot]'
127122
with:
128123
registry: ghcr.io
129124
username: ${{ github.repository_owner }}

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
needs:
6464
- test
6565
- e2e
66+
if: github.actor != 'dependabot[bot]'
6667
uses: ./.github/workflows/docker-build.yml
6768
with:
6869
app-name: sms-gateway

0 commit comments

Comments
 (0)