diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml new file mode 100644 index 000000000..ed4b8c61c --- /dev/null +++ b/.github/workflows/codecov.yml @@ -0,0 +1,30 @@ +name: CodeCov + +on: + workflow_run: + workflows: + - "sentry-delayed_job Test" + - "sentry-opentelemetry Test" + - "sentry-rails Test" + - "sentry-raven Test" + - "sentry-resque Test" + - "sentry-ruby Test" + - "sentry-sidekiq Test" + types: + - completed + branches: + - master + pull_request: + branches: + - master + +jobs: + codecov: + runs-on: ubuntu-latest + if: ${{ github.event.workflow_run.conclusion == 'success' }} + steps: + - name: Codecov + uses: codecov/codecov-action@v5.3.1 + + - name: Trigger Codecov + run: codecovcli send-notifications diff --git a/codecov.yml b/codecov.yml index 03096bfb1..8a3a8e9ba 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,5 +1,7 @@ codecov: disable_default_path_fixes: true + notify: + manual_trigger: true ignore: - "**/spec/**" comment: