forked from forbole/callisto
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
commit a8963ab Merge: 87952cd adf2b22 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:58:17 2022 +0100 Merge branch 'forbole:cosmos/v0.44.x' into chains/cheqd commit 87952cd Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:53:06 2022 +0100 Update lint.yml commit 3781b96 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:48:25 2022 +0100 Update .hadolint.yml commit 66772b3 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:43:35 2022 +0100 Update lint-pr.yml commit ba17d38 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:43:04 2022 +0100 Create dispatch.yml commit 45800e3 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:42:51 2022 +0100 Update lint.yml commit eb462fc Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:39:46 2022 +0100 Add Linter configs commit adf2b22 Author: Magic Cat <37407870+MonikaCat@users.noreply.github.com> Date: Thu Jul 28 22:28:25 2022 +0800 build(deps): bump forbole/juno to v3.3.0 (forbole#440) ## Description Closes: #XXXX --- ### Author Checklist *All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.* I have... - [ ] included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] added `!` to the type prefix if API or client breaking change - [ ] targeted the correct branch - [ ] provided a link to the relevant issue or specification - [ ] added a changelog entry to `CHANGELOG.md` - [ ] included comments for [documenting Go code](https://blog.golang.org/godoc) - [ ] updated the relevant documentation or specification - [ ] reviewed "Files changed" and left comments if necessary - [ ] confirmed all CI checks have passed ### Reviewers Checklist *All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.* I have... - [ ] confirmed the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title - [ ] confirmed `!` in the type prefix if API or client breaking change - [ ] confirmed all author checklist items have been addressed - [ ] reviewed API design and naming - [ ] reviewed documentation is accurate - [ ] reviewed tests and test coverage - [ ] manually tested (if applicable) commit 3f3e970 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:27:55 2022 +0100 Delete docker-build.yml commit 4d14599 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:27:41 2022 +0100 Lint PR commit 7c31ce0 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:27:09 2022 +0100 Delete .mergify.yml commit 51495b0 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:26:43 2022 +0100 Revert "Update PR title check" This reverts commit 9740889. commit 6d4be9b Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:24:29 2022 +0100 Update test.yml commit 3594c4f Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:19:36 2022 +0100 Delete .codecov.yaml commit 9e6ea79 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:16:43 2022 +0100 Update dependabot.yml commit 9740889 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:16:26 2022 +0100 Update PR title check commit a0544e1 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:15:24 2022 +0100 Update .gitignore commit 5290970 Author: Ankur Banerjee <ankurdotb@users.noreply.github.com> Date: Thu Jul 28 15:15:06 2022 +0100 Delete .mergify.yml
- Loading branch information
Showing
15 changed files
with
806 additions
and
156 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,17 +1,42 @@ | ||
################################# | ||
# GitHub Dependabot Config info # | ||
################################# | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: github-actions | ||
|
||
# Maintain dependencies for GitHub Actions | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
- package-ecosystem: gomod | ||
interval: "weekly" | ||
|
||
# Maintain dependencies for NPM | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
schedule: | ||
interval: daily | ||
open-pull-requests-limit: 10 | ||
reviewers: | ||
- riccardom | ||
labels: | ||
- automerge | ||
- dependencies | ||
interval: "weekly" | ||
|
||
# Maintain dependencies for Docker | ||
- package-ecosystem: "docker" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
# Maintain dependencies for Golang | ||
- package-ecosystem: "gomod" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
# Maintain dependencies for Terraform | ||
- package-ecosystem: "terraform" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
|
||
# Maintain dependencies for Python | ||
- package-ecosystem: "pip" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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,37 @@ | ||
module.exports = { | ||
rules: { | ||
'type-case': [2, 'always', 'lower-case'], | ||
'type-empty': [2, 'never'], | ||
'type-enum': [ | ||
2, | ||
'always', | ||
[ | ||
'build', | ||
'chore', | ||
'ci', | ||
'docs', | ||
'feat', | ||
'fix', | ||
'perf', | ||
'refactor', | ||
'revert', | ||
'style', | ||
'test', | ||
], | ||
], | ||
'scope-case': [2, 'always', 'lower-case'], | ||
'scope-empty': [1, 'never'], | ||
'subject-case': [ | ||
2, | ||
'always', | ||
['sentence-case'], | ||
], | ||
'subject-empty': [1, 'never'], | ||
'subject-full-stop': [1, 'never', '.'], | ||
'header-max-length': [2, 'always', 100], | ||
'body-leading-blank': [1, 'always'], | ||
'body-max-line-length': [2, 'always', 1000], | ||
'footer-leading-blank': [1, 'always'], | ||
'footer-max-line-length': [2, 'always', 100], | ||
}, | ||
}; |
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,17 @@ | ||
# Set threshold level (error | warning | info | style | ignore | none) | ||
failure-threshold: warning | ||
|
||
# List of ignored rules | ||
# See list for reference: https://github.com/hadolint/hadolint#rules | ||
ignored: | ||
|
||
# Override default levels for specific rules | ||
override: | ||
error: | ||
warning: | ||
info: | ||
- DL3007 | ||
- DL3008 | ||
- DL3018 | ||
- DL3027 | ||
style: |
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,139 @@ | ||
default: false # includes/excludes all rules by default | ||
|
||
# Heading levels should only increment by one level at a time <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md001> | ||
MD001: true | ||
|
||
# Heading style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md003> | ||
MD003: | ||
style: 'consistent' | ||
|
||
# Unordered list style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md004> | ||
MD004: | ||
style: 'consistent' | ||
|
||
# Inconsistent indentation for list items at the same level <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md005> | ||
MD005: true | ||
|
||
# Consider starting bulleted lists at the beginning of the line <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md006> | ||
MD006: true | ||
|
||
# Unordered list indentation <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md007> | ||
MD007: false | ||
|
||
# Trailing spaces <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md009> | ||
MD009: true | ||
|
||
# Hard tabs <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md010> | ||
MD010: false | ||
|
||
# Reversed link syntax <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md011> | ||
MD011: true | ||
|
||
# Multiple consecutive blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md012> | ||
MD012: | ||
maximum: 2 | ||
|
||
# Line length <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md013> | ||
MD013: false | ||
|
||
# Dollar signs used before commands without showing output <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md014> | ||
MD014: true | ||
|
||
# No space after hash on atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md018> | ||
MD018: true | ||
|
||
# Multiple spaces after hash on atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md019> | ||
MD019: true | ||
|
||
# No space inside hashes on closed atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md020> | ||
MD020: true | ||
|
||
# Multiple spaces inside hashes on closed atx style heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md021> | ||
MD021: true | ||
|
||
# Headings should be surrounded by blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md022> | ||
MD022: true | ||
|
||
# Headings must start at the beginning of the line <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md023> | ||
MD023: true | ||
|
||
# Multiple headings with the same content <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md024> | ||
MD024: | ||
allow_different_nesting: true | ||
|
||
# Multiple top level headings in the same document <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md025> | ||
MD025: false | ||
|
||
# Trailing punctuation in heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md026> | ||
MD026: true | ||
|
||
# Multiple spaces after blockquote symbol <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md027> | ||
MD027: true | ||
|
||
# Blank line inside blockquote <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md028> | ||
MD028: false | ||
|
||
# Ordered list item prefix <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md029> | ||
MD029: | ||
style: 'one_or_ordered' | ||
|
||
# Spaces after list markers <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md030> | ||
MD030: true | ||
|
||
# Fenced code blocks should be surrounded by blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md031> | ||
MD031: true | ||
|
||
# Lists should be surrounded by blank lines <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md032> | ||
MD032: true | ||
|
||
# Inline HTML <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md033> | ||
MD033: | ||
allowed_elements: ['a'] | ||
|
||
# Bare URL used <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md034> | ||
MD034: true | ||
|
||
# Horizontal rule style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md035> | ||
MD035: | ||
style: 'consistent' | ||
|
||
# Emphasis used instead of a heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md036> | ||
MD036: true | ||
|
||
# Spaces inside emphasis markers <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md037> | ||
MD037: true | ||
|
||
# Spaces inside code span elements <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md038> | ||
MD038: true | ||
|
||
# Spaces inside link text <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md039> | ||
MD039: true | ||
|
||
# Fenced code blocks should have a language specified <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md040> | ||
MD040: true | ||
|
||
# First line in file should be a top level heading <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md041> | ||
MD041: true | ||
|
||
# No empty links <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md042> | ||
MD042: true | ||
|
||
# Required heading structure <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md043> | ||
MD043: false | ||
|
||
# Proper names should have the correct capitalization <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md044> | ||
MD044: false | ||
|
||
# Images should have alternate text (alt text) <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md045> | ||
MD045: true | ||
|
||
# Code block style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md046> | ||
MD046: | ||
style: 'consistent' | ||
|
||
# Files should end with a single newline character <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md047> | ||
MD047: true | ||
|
||
# Code fence style <https://github.com/DavidAnson/markdownlint/blob/master/doc/Rules.md#md048> | ||
MD048: | ||
style: 'consistent' |
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,26 @@ | ||
#!/bin/bash | ||
|
||
# Ensures that all bash scripts in the repository use `set -euox pipefail` or `set -euo pipefail` statement at the beginning. | ||
|
||
set -euo pipefail | ||
|
||
INVALID_FILES_FOUND=0 | ||
|
||
while IFS= read -r -d '' BASH_SCRIPT | ||
do | ||
echo "checking ${BASH_SCRIPT}" | ||
if ( ! grep -q "set -euo pipefail" "${BASH_SCRIPT}" ) && ( ! grep -q "set -euox pipefail" "${BASH_SCRIPT}" ) | ||
then | ||
echo "${BASH_SCRIPT}" | ||
INVALID_FILES_FOUND=1 | ||
fi | ||
done < <(find . -type f -name "*.sh" -print0) # See https://github.com/koalaman/shellcheck/wiki/SC2044 | ||
|
||
if [[ INVALID_FILES_FOUND -eq 1 ]] | ||
then | ||
echo "" | ||
echo "The bash scripts above must include either 'set -euo pipefail' or 'set -euox pipefail." | ||
exit 1 | ||
else | ||
echo "euox-pipefaile check finished successfully" | ||
fi |
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,17 @@ | ||
name: "Workflow Dispatch" | ||
on: push | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
|
||
jobs: | ||
|
||
call-lint: | ||
name: "Lint" | ||
uses: cheqd/bdjuno/.github/workflows/lint.yml@chains/cheqd | ||
|
||
call-test: | ||
name: "Test" | ||
uses: cheqd/bdjuno/.github/workflows/test.yml@chains/cheqd | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.