Skip to content

Merge pull request #3506 from cal-itp/3481-validation-notices #501

Merge pull request #3506 from cal-itp/3481-validation-notices

Merge pull request #3506 from cal-itp/3481-validation-notices #501

name: Notify Sentry of releases
on:
push:
branches:
- 'main'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- uses: 'google-github-actions/get-secretmanager-secrets@v1'
id: secrets
with:
secrets: |-
GITHUB_SENTRY_AUTH_TOKEN:cal-itp-data-infra/GITHUB_SENTRY_AUTH_TOKEN
- uses: actions/checkout@v2
- uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: '${{ steps.secrets.outputs.GITHUB_SENTRY_AUTH_TOKEN }}'
SENTRY_ORG: sentry
SENTRY_PROJECT: cal-itp-data-infra
SENTRY_URL: https://sentry.calitp.org
with:
environment: cal-itp-data-infra