From dd7bc4fcdea05cd4556edaf839be20d3752aa059 Mon Sep 17 00:00:00 2001 From: goodliu Date: Mon, 16 Oct 2023 12:21:00 +0800 Subject: [PATCH] fix badge-Tests link, and listen to push events on prc.yaml (#2) Co-authored-by: wineandchord --- .github/workflows/cla.yml | 2 +- .github/workflows/prc.yml | 1 + README.md | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/cla.yml b/.github/workflows/cla.yml index dcab83c..161f19d 100644 --- a/.github/workflows/cla.yml +++ b/.github/workflows/cla.yml @@ -28,4 +28,4 @@ jobs: path-to-signatures: 'signatures/${{ github.event.repository.name }}-${{ github.repository_id }}/cla.json' path-to-document: 'https://github.com/trpc-group/cla-database/blob/main/Tencent-Contributor-License-Agreement.md' # branch should not be protected - branch: 'main' \ No newline at end of file + branch: 'main' diff --git a/.github/workflows/prc.yml b/.github/workflows/prc.yml index b1efdcd..efaab2b 100644 --- a/.github/workflows/prc.yml +++ b/.github/workflows/prc.yml @@ -1,6 +1,7 @@ name: Pull Request Check on: pull_request: + pull: workflow_dispatch: permissions: contents: read diff --git a/README.md b/README.md index c7132e7..fa2387f 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ English | [中文](README.zh_CN.md) [![LICENSE](https://img.shields.io/github/license/trpc.group/trpc-cmdline.svg?style=flat-square)](https://github.com/trpc.group/trpc-cmdline/blob/main/LICENSE) [![Releases](https://img.shields.io/github/release/trpc.group/trpc-cmdline.svg?style=flat-square)](https://github.com/trpc.group/trpc-cmdline/releases) [![Docs](https://img.shields.io/badge/docs-latest-green)](http://test.trpc.group.woa.com/docs/) -[![Tests](https://github.com/trpc.group/trpc-cmdline/actions/workflows/prc.yaml/badge.svg)](https://github.com/trpc.group/trpc-cmdline/actions/workflows/prc.yaml) +[![Tests](https://github.com/trpc-group/trpc-cmdline/actions/workflows/prc.yml/badge.svg)](https://github.com/trpc-group/trpc-cmdline/actions/workflows/prc.yml) [![Coverage](https://codecov.io/gh/trpc.group/trpc-cmdline/branch/main/graph/badge.svg)](https://app.codecov.io/gh/trpc.group/trpc-cmdline/tree/main) trpc-cmdline is the command line tool for [trpc-cpp](https://github.com/trpc-group/trpc-cpp) and [trpc-go](https://github.com/trpc-group/trpc-go).