mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-12-27 17:31:36 -06:00
chore: add new actions for PRs (#1085)
* add new actions for PRs - remove minimum reviews - add auto assign PRs - add auto merge PRs - add reminders for PR reviews - add stats for PR workflow * fix stats workflow to include repositories & token * update stats period to 30 days * remove some bots
This commit is contained in:
parent
983f489edc
commit
32d1b2bf69
15
.github/minimum-reviews.yml
vendored
15
.github/minimum-reviews.yml
vendored
@ -1,15 +0,0 @@
|
||||
# Number of reviews required to mark the pull request as valid
|
||||
reviewsUntilReady: 2
|
||||
|
||||
# Number of changes in the pull request to start enforcing the reviewsUntilReady rule
|
||||
changesThreshold: 100
|
||||
|
||||
# Message to display when the commit status passes
|
||||
readyMessage: 'No pending reviews'
|
||||
|
||||
# Message to display when the commit status fails
|
||||
notReadyMessage: 'Pending review approvals'
|
||||
|
||||
# Status to set the commit to when waiting for reviews
|
||||
# 'failure, error, and pending' are the suggested options
|
||||
notReadyState: 'pending'
|
8
.github/workflows/action.yml
vendored
8
.github/workflows/action.yml
vendored
@ -1,8 +0,0 @@
|
||||
name: 'Auto Assign'
|
||||
on: pull_request
|
||||
|
||||
jobs:
|
||||
add-reviews:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: kentaro-m/auto-assign-action@v1.1.1
|
27
.github/workflows/automerge.yml
vendored
Normal file
27
.github/workflows/automerge.yml
vendored
Normal file
@ -0,0 +1,27 @@
|
||||
name: automerge
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- labeled
|
||||
- unlabeled
|
||||
- synchronize
|
||||
- opened
|
||||
- edited
|
||||
- ready_for_review
|
||||
- reopened
|
||||
- unlocked
|
||||
pull_request_review:
|
||||
types:
|
||||
- submitted
|
||||
check_suite:
|
||||
types:
|
||||
- completed
|
||||
status: {}
|
||||
jobs:
|
||||
automerge:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: automerge
|
||||
uses: "pascalgn/automerge-action@v0.11.0"
|
||||
env:
|
||||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
Loading…
Reference in New Issue
Block a user