From 201a25e4bb31cdc43c3acba5e8c4d2b70dd4697f Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Mon, 6 May 2024 18:14:33 +0300 Subject: [PATCH] Revert "Revert "feat: remove monkey"" This reverts commit 5c18bd61dd502a8839cc6177257375ec67d251e8. --- .github/workflows/sentry.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) 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