feat: sentry release action #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: New Sentry Release | |
on: | |
pull_request: | |
# revert develop here | |
branches: [main, develop] | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.head.ref == 'feat_sentry_release_yml' | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: feat_sentry_release_yml | |
- 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: | |
# and revert me too | |
environment: localhost | |
version: ${{ github.event.pull_request.title }} | |
# and me too | |
ignore_missing: true | |