Skip to content

feat: sentry release action #5

feat: sentry release action

feat: sentry release action #5

Workflow file for this run

name: New Sentry Release
on:
# obviously revert these two too
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
if: github.event.pull_request.head.ref == 'feat_sentry_release_yml'
# obviously revert me once ready
ref: feat_sentry_release_yml

Check failure on line 15 in .github/workflows/sentry.yml

View workflow run for this annotation

GitHub Actions / New Sentry Release

Invalid workflow file

The workflow is not valid. .github/workflows/sentry.yml (Line: 15, Col: 5): Unexpected value 'ref'
steps:
- uses: actions/checkout@v3
- name: Sentry Release
uses: getsentry/[email protected]
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