Skip to content

Commit 52b447d

Browse files
bochencwxlioncfliu
authored andcommitted
Feature: update cla and codecov configuration
1 parent 3fb4f3f commit 52b447d

2 files changed

Lines changed: 9 additions & 3 deletions

File tree

.github/.codecov.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,9 @@ comment:
22
layout: "reach,diff,flags,tree"
33
behavior: default
44
require_changes: false
5+
6+
coverage:
7+
status:
8+
project:
9+
default:
10+
threshold: 1%

.github/workflows/cla.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on:
33
issue_comment:
44
types: [created]
55
pull_request_target:
6-
types: [opened, closed, synchronize, reopened]
6+
types: [opened, synchronize, reopened]
77

88
# explicitly configure permissions, in case your GITHUB_TOKEN workflow permissions are set to read-only in repository settings
99
permissions:
@@ -14,7 +14,7 @@ permissions:
1414

1515
jobs:
1616
CLAAssistant:
17-
runs-on: [self-hosted, trpc-cpp-ci]
17+
runs-on: ubuntu-latest
1818
steps:
1919
- name: "CLA Assistant"
2020
if: (github.event.comment.body == 'recheck' || github.event.comment.body == 'I have read the CLA Document and I hereby sign the CLA') || github.event_name == 'pull_request_target'
@@ -28,4 +28,4 @@ jobs:
2828
path-to-signatures: 'signatures/${{ github.event.repository.name }}-${{ github.repository_id }}/cla.json'
2929
path-to-document: 'https://github.com/trpc-group/cla-database/blob/main/Tencent-Contributor-License-Agreement.md'
3030
# branch should not be protected
31-
branch: 'main'
31+
branch: 'main'

0 commit comments

Comments
 (0)