Skip to content

Commit 7e73c2c

Browse files
committed
Make Sentry release step optional in Docker workflows
- Add condition to skip Sentry step when SENTRY_AUTH_TOKEN is not set - This prevents workflow failures when Sentry integration is not configured 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 6c46e73 commit 7e73c2c

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/docker-api.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
- name: Create Sentry release
6363
uses: getsentry/action-release@v1
64-
if: ${{ github.actor != 'dependabot[bot]' }}
64+
if: ${{ github.actor != 'dependabot[bot]' && secrets.SENTRY_AUTH_TOKEN != '' }}
6565
env:
6666
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
6767
SENTRY_ORG: zazuko

.github/workflows/docker-app.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
6363
- name: Create Sentry release
6464
uses: getsentry/action-release@v1
65-
if: ${{ github.actor != 'dependabot[bot]' }}
65+
if: ${{ github.actor != 'dependabot[bot]' && secrets.SENTRY_AUTH_TOKEN != '' }}
6666
env:
6767
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
6868
SENTRY_ORG: zazuko

.github/workflows/docker-cli.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
- name: Create Sentry release
6363
uses: getsentry/action-release@v1
64-
if: ${{ github.actor != 'dependabot[bot]' }}
64+
if: ${{ github.actor != 'dependabot[bot]' && secrets.SENTRY_AUTH_TOKEN != '' }}
6565
env:
6666
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
6767
SENTRY_ORG: zazuko

0 commit comments

Comments
 (0)