summaryrefslogtreecommitdiffstats
path: root/.github/workflows/slo_report.yml
blob: e06301abac9407eb111e2002df05a90781eaf5e4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: SLO Report

on:
  workflow_run:
    workflows: ["SLO CPP SDK"]
    types:
      - completed

jobs:
  ydb-slo-action-report:
    runs-on: ubuntu-latest
    name: Publish YDB SLO Report
    permissions:
      checks: write
      contents: read
      pull-requests: write
    if: github.event.workflow_run.conclusion == 'success'
    steps:
      - name: Publish YDB SLO Report
        uses: ydb-platform/ydb-slo-action/report@main
        with:
          github_token: ${{ secrets.GITHUB_TOKEN }}
          github_run_id: ${{ github.event.workflow_run.id }}