diff --git a/.github/workflows/sentry.yml b/.github/workflows/sentry.yml index e3f0c491039..d342a05b665 100644 --- a/.github/workflows/sentry.yml +++ b/.github/workflows/sentry.yml @@ -1,17 +1,16 @@ name: New Sentry Release on: pull_request: - # revert develop here - branches: [main, develop] + branches: [main] jobs: release: runs-on: ubuntu-latest - if: github.event.pull_request.head.ref == 'feat_sentry_release_yml' steps: + - name: Checkout release - uses: actions/checkout@v3 with: - ref: feat_sentry_release_yml + ref: release - name: Sentry Release uses: getsentry/action-release@v1.7.0 env: @@ -19,9 +18,9 @@ jobs: SENTRY_ORG: ${{ secrets.SENTRY_ORG }} SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} with: - # and revert me too - environment: localhost + environment: production + # uses the release PR title as a version version: ${{ github.event.pull_request.title }} - # and me too + # This can safely be removed after one succesful release - previous release hash won't be found in repo as we're squashing this ignore_missing: true