From dfe571105f3053270592a4f5ed0fdba14a25ce52 Mon Sep 17 00:00:00 2001 From: gomes <17035424+gomesalexandre@users.noreply.github.com> Date: Mon, 6 May 2024 23:42:12 +0300 Subject: [PATCH] feat: sentry release action (#6828) * feat: sentry release action * feat: monkey patch * fix: indent * fix: damn vim indent rug * feat: use latest * feat: more monkey * fix: main over master * [skip ci] feat: more more monkey * chore: trigger CI * chore: trigger CI * fix: fricking yaml * chore: trigger CI * feat: more monkey * feat: pr title as version * feat: ignore missing * feat: remove monkey * Revert "feat: remove monkey" This reverts commit 4740cea46e02bde8c34240a61361ef124a1bfced. * Revert "Revert "feat: remove monkey"" This reverts commit 5c18bd61dd502a8839cc6177257375ec67d251e8. * feat: rm comment --- .github/workflows/sentry.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/sentry.yml diff --git a/.github/workflows/sentry.yml b/.github/workflows/sentry.yml new file mode 100644 index 00000000000..02e94f5a68c --- /dev/null +++ b/.github/workflows/sentry.yml @@ -0,0 +1,25 @@ +name: New Sentry Release +on: + pull_request: + branches: [main] + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Checkout release + - uses: actions/checkout@v3 + with: + ref: release + - name: Sentry Release + uses: getsentry/action-release@v1.7.0 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }} + SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} + with: + environment: production + # uses the release PR title as a version + version: ${{ github.event.pull_request.title }} + ignore_missing: true +