File: benchmark-upload.yml

package info (click to toggle)
mtail 3.2.24-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,384 kB
  • sloc: yacc: 647; makefile: 226; sh: 78; lisp: 77; awk: 17
file content (26 lines) | stat: -rw-r--r-- 693 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: benchmark-upload

on:
  workflow_run:
    workflows:
      - benchmark
    types:
      - completed

jobs:
  bencher-upload:
    if: github.event.workflow_run.conclusion == 'success'
    runs-on: ubuntu-latest
    permissions:
      # Allow bencher-run to write to the PR comments
      pull-requests: write
      # Allow bencher-run to read the benchmark results artifact
      actions: read
      # Allow bencher-run to write to the checks api
      checks: write
    steps:
      - uses: actions/checkout@v5
      - uses: ./.github/actions/bencher-run
        with:
          BENCHER_API_TOKEN: ${{ secrets.BENCHER_API_TOKEN }}
          project: 238e7993-fc7a-4a69-aa82-470abd249c8b