Skip to content

Commit

Permalink
Dont notify sentry or update helm-charts on prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
gamingrobot committed Jan 9, 2025
1 parent cdff19b commit 3685200
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -421,7 +421,6 @@ jobs:
src: ghcr.io/contrast-security-oss/agent-operator/operator@${{ needs.build-image.outputs.digest }}
dst: |
${{ steps.dockerhub-meta.outputs.tags }}
${{ steps.quay-meta.outputs.tags }}
- uses: actions/download-artifact@v4
id: download-artifacts
with:
Expand All @@ -442,8 +441,10 @@ jobs:
artifacts: ${{ steps.download-artifacts.outputs.download-path }}/*.yaml
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true
prerelease: ${{ needs.generate-version.outputs.is-release == 'false' }} # pre-releases will have is-release false
- name: Publish Helm Chart
uses: peter-evans/repository-dispatch@v3
if: ${{ needs.generate-version.outputs.is-release == 'true' }}
with:
token: ${{ secrets.GH_PR_WRITE_PAT }}
repository: Contrast-Security-OSS/helm-charts
Expand All @@ -467,6 +468,7 @@ jobs:
# SENTRY_PROJECT: agent-operator
# SENTRY_URL: https://sentry.prod.dotnet.contsec.com
- uses: act10ns/slack@v2
if: ${{ needs.generate-version.outputs.is-release == 'true' }}
with:
status: ${{ job.status }}
message: |-
Expand Down

0 comments on commit 3685200

Please sign in to comment.