-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #547. Co-authored-by: b1ron <[email protected]>
- Loading branch information
Showing
23 changed files
with
235 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,43 @@ | ||
--- | ||
# see https://docs.mergify.com/configuration/ | ||
pull_request_rules: | ||
- name: "Update out-of-date ready PRs" | ||
# see https://docs.mergify.com/ | ||
|
||
pull_request_rules: | ||
- name: "Update out-of-date approved PRs" | ||
conditions: | ||
# those rules are implicit | ||
# those rules are implicit for the update action: | ||
# - "#commits-behind > 0" | ||
# - "-closed" | ||
|
||
- "-conflict" | ||
- "-draft" | ||
- "-locked" | ||
- "-merged" | ||
- "author != dependabot[bot]" | ||
- "base = main" | ||
- "branch-protection-review-decision = APPROVED" | ||
- "label != 'not ready'" | ||
|
||
actions: | ||
update: | ||
|
||
- name: "Assign PRs" | ||
conditions: | ||
- "-closed" | ||
- "#assignee = 0" | ||
actions: | ||
assign: | ||
add_users: ["{{ author }}"] | ||
|
||
- name: "Add label on conflicts" | ||
conditions: | ||
- "conflict" | ||
actions: | ||
comment: | ||
message: "@{{author}} this pull request has merge conflicts." | ||
label: | ||
add: [conflict] | ||
|
||
- name: "Remove label when conflicts were resolved" | ||
conditions: | ||
- "-conflict" | ||
actions: | ||
label: | ||
remove: [conflict] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
--- | ||
# https://github.com/repository-settings/app | ||
|
||
repository: | ||
allow_squash_merge: true | ||
allow_merge_commit: false | ||
allow_rebase_merge: false | ||
delete_branch_on_merge: true | ||
enable_automated_security_fixes: true | ||
enable_vulnerability_alerts: true | ||
|
||
# https://docs.github.com/en/rest/issues/labels | ||
labels: | ||
- name: badly estimated | ||
color: "#FF3333" | ||
description: Scope, difficulty and/or clarify were different | ||
|
||
- name: code/chore | ||
color: "#E99695" | ||
description: Dance tool code or tests configuration maintenance improvements | ||
|
||
- name: code/enhancement | ||
color: "#FBCA04" | ||
description: Some dance tool feature or tests configuration could work better | ||
|
||
- name: code/feature | ||
color: "#0E8A16" | ||
description: Some dance tool feature or tests configuration is not implemented yet | ||
|
||
- name: conflict | ||
color: "#FF0000" | ||
description: PRs that have merge conflicts | ||
|
||
- name: deps | ||
color: "#D4C5F9" | ||
description: PRs that update dependencies | ||
|
||
- name: do not merge | ||
color: "#0052CC" | ||
description: PRs that should not be merged | ||
|
||
- name: documentation | ||
color: "#0052CC" | ||
description: Something is badly or not documented | ||
|
||
- name: good first issue | ||
color: "#5319E7" | ||
description: Good issues for new external contributors | ||
|
||
- name: help wanted | ||
color: "#006B75" | ||
description: Issues that require extra attention | ||
|
||
- name: not ready | ||
color: "#000000" | ||
description: Issues that are not ready to be worked on; PRs that should skip CI | ||
|
||
# https://hacktoberfest.com/participation/#spam | ||
- name: spam | ||
color: "#C5DEF5" | ||
description: Spam issues and PRs | ||
|
||
- name: trust | ||
color: "#00FF00" | ||
description: PRs that can access Actions secrets |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
--- | ||
runner: command | ||
dir: dotnet-example | ||
args: | ||
- dotnet | ||
- run | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
npm ci | ||
|
||
env CONNECTION_STRING=mongodb://localhost:27017 npx jest -i |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
# enables Maven exceptions | ||
export MAVEN_OPTS='-ea' | ||
|
||
mvn compile exec:java -Dexec.mainClass=com.start.Connection \ | ||
-Dexec.args="mongodb://user:password@localhost:27017/?authMechanism=PLAIN" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
# enables Maven exceptions | ||
export MAVEN_OPTS='-ea' | ||
|
||
mvn compile exec:java -Dexec.mainClass=com.start.Connection \ | ||
-Dexec.args="mongodb://localhost:27017/" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
pip3 install pymongo | ||
|
||
python3 pymongo_test.py mongodb://user:password@localhost:27017/?authMechanism=PLAIN |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/sh | ||
|
||
set -ex | ||
|
||
pip3 install pymongo | ||
|
||
python3 pymongo_test.py mongodb://localhost:27017/ |
Oops, something went wrong.