-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync main GitHub config with master and update
Signed-off-by: Thane Thomson <connect@thanethomson.com>
- Loading branch information
1 parent
854963b
commit 9c1bd72
Showing
29 changed files
with
499 additions
and
408 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,7 +1,7 @@ | ||
## Description | ||
Please add a description of the changes that this PR introduces and the files that | ||
are the most critical to review. | ||
|
||
_Please add a description of the changes that this PR introduces and the files that | ||
are the most critical to review._ | ||
If this PR fixes an open Issue, please include "Closes #XXX" (where "XXX" is the Issue number) | ||
so that GitHub will automatically close the Issue when this PR is merged. | ||
|
||
Closes: #XXX | ||
|
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,16 +1,16 @@ | ||
pullRequestOpened: | | ||
:wave: Thanks for creating a PR! | ||
:wave: Thanks for creating a PR! | ||
Before we can merge this PR, please make sure that all the following items have been | ||
Before we can merge this PR, please make sure that all the following items have been | ||
checked off. If any of the checklist items are not applicable, please leave them but | ||
write a little note why. | ||
write a little note why. | ||
- [ ] Wrote tests | ||
- [ ] Updated CHANGELOG_PENDING.md | ||
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work. | ||
- [ ] Updated relevant documentation (`docs/`) and code comments | ||
- [ ] Re-reviewed `Files changed` in the Github PR explorer | ||
- [ ] Applied Appropriate Labels | ||
- [ ] Wrote tests | ||
- [ ] Updated CHANGELOG_PENDING.md | ||
- [ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work. | ||
- [ ] Updated relevant documentation (`docs/`) and code comments | ||
- [ ] Re-reviewed `Files changed` in the Github PR explorer | ||
- [ ] Applied Appropriate Labels | ||
Thank you for your contribution to Tendermint! :rocket: | ||
Thank you for your contribution to Tendermint! :rocket: |
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,25 @@ | ||
coverage: | ||
precision: 2 | ||
round: down | ||
range: "70...100" | ||
status: | ||
project: | ||
default: | ||
threshold: 20% | ||
patch: off | ||
changes: off | ||
|
||
github_checks: | ||
annotations: false | ||
|
||
comment: false | ||
|
||
ignore: | ||
- "docs" | ||
- "DOCKER" | ||
- "scripts" | ||
- "**/*.pb.go" | ||
- "libs/pubsub/query/query.peg.go" | ||
- "*.md" | ||
- "*.rst" | ||
- "*.yml" |
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,51 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
target-branch: "main" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- T:dependencies | ||
- S:automerge | ||
|
||
- package-ecosystem: github-actions | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
target-branch: "v0.34.x" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- T:dependencies | ||
- S:automerge | ||
|
||
- package-ecosystem: npm | ||
directory: "/docs" | ||
schedule: | ||
interval: weekly | ||
open-pull-requests-limit: 10 | ||
|
||
################################### | ||
## | ||
## Update All Go Dependencies | ||
|
||
- package-ecosystem: gomod | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
target-branch: "main" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- T:dependencies | ||
- S:automerge | ||
|
||
- package-ecosystem: gomod | ||
directory: "/" | ||
schedule: | ||
interval: weekly | ||
target-branch: "v0.34.x" | ||
open-pull-requests-limit: 10 | ||
labels: | ||
- T:dependencies | ||
- S:automerge |
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,8 @@ | ||
default: true, | ||
MD007: {"indent": 4} | ||
MD013: false | ||
MD024: {siblings_only: true} | ||
MD025: false | ||
MD033: {no-inline-html: false} | ||
no-hard-tabs: false | ||
whitespace: false |
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 @@ | ||
--- | ||
# Default rules for YAML linting from super-linter. | ||
# See: See https://yamllint.readthedocs.io/en/stable/rules.html | ||
extends: default | ||
rules: | ||
document-end: disable | ||
document-start: disable | ||
line-length: disable | ||
truthy: disable |
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,82 @@ | ||
name: Build | ||
# Tests runs different tests (test_abci_apps, test_abci_cli, test_apps) | ||
# This workflow runs on every push to main or release branch and every pull requests | ||
# All jobs will pass without running if no *{.go, .mod, .sum} files have been modified | ||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
- main | ||
- release/** | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
goarch: ["arm", "amd64"] | ||
goos: ["linux"] | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.18" | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
"!test/" | ||
go.mod | ||
go.sum | ||
Makefile | ||
- name: install | ||
run: GOOS=${{ matrix.goos }} GOARCH=${{ matrix.goarch }} make build | ||
if: "env.GIT_DIFF != ''" | ||
|
||
test_abci_cli: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.18" | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
- name: install | ||
run: make install_abci | ||
if: "env.GIT_DIFF != ''" | ||
- run: abci/tests/test_cli/test.sh | ||
shell: bash | ||
if: "env.GIT_DIFF != ''" | ||
|
||
test_apps: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
timeout-minutes: 5 | ||
steps: | ||
- uses: actions/setup-go@v3 | ||
with: | ||
go-version: "1.18" | ||
- uses: actions/checkout@v3 | ||
- uses: technote-space/get-diff-action@v6 | ||
with: | ||
PATTERNS: | | ||
**/**.go | ||
go.mod | ||
go.sum | ||
- name: install | ||
run: make install install_abci | ||
if: "env.GIT_DIFF != ''" | ||
- name: test_apps | ||
run: test/app/test.sh | ||
shell: bash | ||
if: "env.GIT_DIFF != ''" |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.