From 02793fecfe424fd58a6665168ce4150c6c072852 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Mon, 30 Sep 2024 00:04:08 +0200 Subject: [PATCH] Configure Sentry release Workflow for GitHub actions Marking a new commit on master as release is required for the newly-added Ansible workflow with integrated Sentry deployment tracking. This workflow is based on Poseidon's workflow: https://github.com/openHPI/poseidon/blob/main/.github/workflows/sentry-release.yml --- .github/workflows/sentry-release.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/sentry-release.yml diff --git a/.github/workflows/sentry-release.yml b/.github/workflows/sentry-release.yml new file mode 100644 index 000000000..defc2e748 --- /dev/null +++ b/.github/workflows/sentry-release.yml @@ -0,0 +1,18 @@ +name: Create a Sentry release + +on: + push: + branches: [ master ] + +jobs: + create-release: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Create Sentry release + uses: getsentry/action-release@v1 + with: + projects: ${{ secrets.SENTRY_PROJECT }} + env: + SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} + SENTRY_ORG: ${{ secrets.SENTRY_ORG }}