forked from TypedDevs/bashunit
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (35 loc) · 1.04 KB
/
contributor-report.yml
File metadata and controls
39 lines (35 loc) · 1.04 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
name: Contributor Report
on:
pull_request:
types: [opened, reopened]
permissions:
contents: read
pull-requests: write
jobs:
check-contributor:
name: "Check contributor"
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Check Contributor Report
uses: jdiegosierra/contributor-report@v1
continue-on-error: true
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
threshold-pr-merge-rate: '0.3'
threshold-account-age: '30'
threshold-positive-reactions: '1'
threshold-negative-reactions: '5'
threshold-merger-diversity: '2'
enable-spam-detection: 'true'
required-metrics: 'prMergeRate,accountAge'
on-fail: comment-and-label
label-name: needs-review
new-account-action: require-review
new-account-threshold-days: '30'
trusted-orgs: TypedDevs
trusted-users: Chemaclass