You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# When a reusable workflow is triggered by a caller workflow,
# the github context is always associated with the caller workflow.
workflow_call:
inputs:
repo:
required: false
type: string
default: ${{ github.repository }}
branch:
required: false
type: string
default: ${{ github.ref_name }}
workflow_name:
required: false
type: string
default: ${{ github.workflow }}
run_id:
required: false
type: string
default: ${{ github.run_id }}
jobs:
send_failure_event:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v4
- name: Send Sentry event for failed action
run: |
npm i -g @sentry/cli
sentry-cli send-event -m "A job in the ${{ inputs.workflow_name }} action for the repository '${{ inputs.repo }}' has failed - see run for exact failure" \