Skip to content

Commit f80ea55

Browse files
committed
fix: issues
1 parent e09f808 commit f80ea55

File tree

5 files changed

+21
-7
lines changed

5 files changed

+21
-7
lines changed

.github/linters/.markdown-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1+
MD013: false # line length 80
12
MD026: false
23
MD034: false
3-

.github/workflows/ci.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ permissions:
88
# Run on pushes to any branch and pull requests
99
on:
1010
push:
11-
branches-ignore: ['main']
12-
pull_request:
1311
branches: ['main']
12+
pull_request:
13+
branches: ['**']
14+
1415
jobs:
1516
# Lint all YAML, JSON & Shell
1617
lint:
@@ -29,7 +30,10 @@ jobs:
2930
VALIDATE_YAML: true
3031
VALIDATE_JSON: true
3132
VALIDATE_SHELL: true
32-
FILTER_REGEX_EXCLUDE: ^cardano-config/
33+
34+
VALIDATE_MARKDOWN_PRETTIER: false
35+
VALIDATE_YAML_PRETTIER: false
36+
FILTER_REGEX_EXCLUDE: (^cardano-config/|LICENSE\.md)
3337
env:
3438
# tell it your default branch so it can diff
3539
DEFAULT_BRANCH: origin/main

CODE_OF_CONDUCT.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Our Pledge
2+
23
In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
34

45
## Our Standards
6+
57
Examples of behavior that contributes to creating a positive environment include:
68

79
- Using welcoming and inclusive language
@@ -12,25 +14,30 @@ Examples of behavior that contributes to creating a positive environment include
1214

1315
Examples of unacceptable behavior by participants include:
1416

15-
-The use of sexualized language or imagery and unwelcome sexual attention or advances
17+
- The use of sexualized language or imagery and unwelcome sexual attention or advances
1618
- Trolling, insulting/derogatory comments, and personal or political attacks
1719
- Public or private harassment
1820
- Publishing others’ private information, such as a physical or electronic address, without explicit permission
1921
- Other conduct which could reasonably be considered inappropriate in a professional setting
22+
2023
## Our Responsibilities
24+
2125
Project maintainers are responsible for clarifying the standards of acceptable behavior and are expected to take appropriate and fair corrective action in response to any instances of unacceptable behavior.
2226

2327
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any contributor for other behaviors that they deem inappropriate, threatening, offensive, or harmful.
2428

2529
## Scope
30+
2631
This Code of Conduct applies within all project spaces, and it also applies when an individual is representing the project or its community in public spaces. Examples of representing a project or community include using an official project email address, posting via an official social media account, or acting as an appointed representative at an online or offline event. Representation of a project may be further defined and clarified by project maintainers.
2732

2833
## Enforcement
34+
2935
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by contacting the project team at legal@midnight.foundation. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. Further details of specific enforcement policies may be posted separately.
3036

3137
Project maintainers who do not follow or enforce the Code of Conduct in good faith may face temporary or permanent repercussions as determined by other members of the project’s leadership.
3238

3339
## Attribution
40+
3441
This Code of Conduct is adapted from the Contributor Covenant, version 1.4, available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html
3542

3643
For answers to common questions about this code of conduct, see https://www.contributor-covenant.org/faq

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,23 +19,27 @@ This allows for easy orchestration of the Midnight Node service.
1919
The `.envrc` file will automatically create a random private key and save it as `midnight-node.privatekey`.
2020

2121
Choose which compose files to use:
22+
2223
- `compose.yml` for Midnight Node
2324
- `compose-partner-chains.yml` for Cardano + DB Sync
2425
- `proof-server.yml` for Local Proof Server
2526

2627
One can use one or multiple compose files at once.
2728

2829
For example, to run the Midnight Node, you can do:
30+
2931
```shell
3032
docker compose up -d
3133
```
3234

3335
or to run the Midnight Node and Cardano DB Sync, you can do:
36+
3437
```shell
3538
docker compose -f ./compose-partner-chains.yml -f ./compose.yml up -d
3639
```
3740

3841
or to run the Midnight Node, Cardano DB Sync and a local Proof Server, you can do:
42+
3943
```shell
4044
docker compose -f ./compose-partner-chains.yml -f ./compose.yml -f ./proof-server.yml up -d
4145
```

SECURITY.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ for Linux Foundation projects.
1313

1414
The Midnight foundation takes all security issues seriously, which includes all source code repositories managed
1515
through our [GitHub organization](https://github.com/midnightntwrk). If you believe you have found a security vulnerability in any Midnight Foundation
16-
owned repository, <B>please report it using GitHub's private vulnerability reporting</B> and not through public GitHub issues. To learn more about GitHub's
16+
owned repository, *please report it using GitHub's private vulnerability reporting* and not through public GitHub issues. To learn more about GitHub's
1717
private vulnerability reporting and how to submit a vulnerability report, please review [GitHub's documentation on private reporting](https://docs.github.com/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability).
1818

1919
Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:
@@ -43,7 +43,6 @@ for additional information or guidance.
4343
Thank you for improving the security of Midnight. We appreciate your dedication to responsible disclosure and will
4444
make every effort to acknowledge your contributions.
4545

46-
4746
## Vulnerability management
4847

4948
When the maintainers receive a disclosure report, they will assign it to a

0 commit comments

Comments
 (0)