From f054976d4f05b611165e690c07772c0d29b1254d Mon Sep 17 00:00:00 2001 From: Daniel Lockyer Date: Wed, 25 Mar 2020 12:21:29 +0000 Subject: [PATCH] Added GitHub Action to notify Sentry of releases no issue - automates the notification process upon a release published event --- .github/workflows/sentry.yml | 17 +++++++++++++++++ 1 file changed, 17 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 0000000000..69a9303d2b --- /dev/null +++ b/.github/workflows/sentry.yml @@ -0,0 +1,17 @@ +name: Sentry +on: + release: + types: [published] +jobs: + notify: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: tclindner/sentry-releases-action@v1.0.0 + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: TryGhost + SENTRY_PROJECT: Ghost + with: + tagName: ${{ github.ref }} + environment: general