-
Notifications
You must be signed in to change notification settings - Fork 25
43 lines (39 loc) · 1.15 KB
/
gen_coverage_report.yml
File metadata and controls
43 lines (39 loc) · 1.15 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: Generate Coverage Report
on:
workflow_dispatch:
schedule:
- cron: "0 6 * * 1"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: write
jobs:
gen-coverage-report:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v5
with:
token: ${{ secrets.GH_CQ_BOT }}
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
go-version: "1.25"
cache: false
- name: Generate Coverage Report
run: make coverage
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
# required so the PR triggers workflow runs
token: ${{ secrets.GH_CQ_BOT }}
branch: chore/update_coverage_report
base: main
title: "chore: Update coverage report"
commit-message: "chore: Update coverage report"
body: This PR was created by a scheduled workflow to update the coverage report
author: cq-bot <cq-bot@users.noreply.github.com>
labels: automerge