Skip to content

Commit 511d2e1

Browse files
Dont publish dependabot builds to octopus
1 parent 5b9aa55 commit 511d2e1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,26 +63,30 @@ jobs:
6363
})
6464
6565
- name: Login to Octopus
66+
if: github.actor != 'dependabot[bot]'
6667
uses: OctopusDeploy/login@v1
6768
with:
6869
server: ${{ secrets.OCTOPUS_URL }}
6970
service_account_id: e53e33e5-5352-40c2-a4cd-8d5c43987129
7071

7172
- name: Push build information to Octopus Deploy
73+
if: github.actor != 'dependabot[bot]'
7274
uses: OctopusDeploy/push-build-information-action@v3
7375
with:
7476
packages: |
7577
${{ env.PACKAGE_NAME }}
7678
version: ${{ env.OCTOVERSION_FullSemVer }}
77-
79+
7880
- name: Push a package to Octopus Deploy
81+
if: github.actor != 'dependabot[bot]'
7982
uses: OctopusDeploy/push-package-action@v3
8083
with:
8184
overwrite_mode: IgnoreIfExists
8285
packages: |
8386
artifacts/*.${{ env.OCTOVERSION_FullSemVer }}.nupkg
8487
8588
- name: Create a release in Octopus
89+
if: github.actor != 'dependabot[bot]'
8690
uses: OctopusDeploy/create-release-action@v3
8791
with:
8892
space: ${{ env.OCTOPUS_SPACE }}

0 commit comments

Comments
 (0)