Skip to content

Commit 22b62b4

Browse files
authored
chore: Syncs common workflows from the template into main (#4)
1 parent 7b6ba3b commit 22b62b4

File tree

7 files changed

+212
-6
lines changed

7 files changed

+212
-6
lines changed
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
name: Bug report
3+
about: Use this template for reporting issues
4+
title: ''
5+
labels: bug
6+
assignees: ''
7+
---
8+
9+
### 🐛 Bug Report
10+
11+
#### 📝 Description
12+
13+
Provide a clear and concise description of the bug.
14+
15+
#### 🔄 Reproduction Steps
16+
17+
Steps to reproduce the behaviour
18+
19+
#### 🤔 Expected Behavior
20+
21+
Describe what you expected to happen.
22+
23+
#### 😯 Current Behavior
24+
25+
Describe what actually happened.
26+
27+
#### 🖥️ Environment
28+
29+
Any relevant environment details.
30+
31+
#### 📋 Additional Context
32+
33+
Add any other context about the problem here. If applicable, add screenshots to help explain.
34+
35+
#### 📎 Log Output
36+
37+
```
38+
Paste any relevant log output here.
39+
```
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
name: Feature request
3+
about: Use this template for requesting features
4+
title: ''
5+
labels: feat
6+
assignees: ''
7+
---
8+
9+
### 🌟 Feature Request
10+
11+
#### 📝 Description
12+
13+
Provide a clear and concise description of the feature you'd like to see.
14+
15+
#### 🤔 Rationale
16+
17+
Explain why this feature is important and how it benefits the project.
18+
19+
#### 📋 Additional Context
20+
21+
Add any other context or information about the feature request here.

.github/pull_request_template.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# What ❔
2+
3+
<!-- What are the changes this PR brings about? -->
4+
<!-- Example: This PR adds a PR template to the repo. -->
5+
<!-- (For bigger PRs adding more context is appreciated) -->
6+
7+
## Why ❔
8+
9+
<!-- Why are these changes done? What goal do they contribute to? What are the principles behind them? -->
10+
<!-- Example: PR templates ensure PR reviewers, observers, and future iterators are in context about the evolution of repos. -->
11+
12+
## Checklist
13+
14+
<!-- Check your PR fulfills the following items. -->
15+
<!-- For draft PRs check the boxes as you complete them. -->
16+
17+
- [ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
18+
- [ ] Tests for the changes have been added / updated.
19+
- [ ] Documentation comments have been added / updated.
20+
- [ ] Code has been formatted via `zk fmt` and `zk lint`.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Leaked Secrets Scan
2+
on: [pull_request]
3+
jobs:
4+
TruffleHog:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: Checkout code
8+
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
9+
with:
10+
fetch-depth: 0
11+
- name: TruffleHog OSS
12+
uses: trufflesecurity/trufflehog@0c66d30c1f4075cee1aada2e1ab46dabb1b0071a
13+
with:
14+
path: ./
15+
base: ${{ github.event.repository.default_branch }}
16+
head: HEAD
17+
extra_args: --debug --only-verified

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ cmake-build-*
66
ignore
77
out
88
profile
9-
.github
9+
1010

CONTRIBUTING.md

Lines changed: 40 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,44 @@
11
# Contribution Guidelines
22

3-
Thank you for considering helping out with the source code! We are extremely grateful for any consideration of
4-
contributions to this repository. However, at this time, we generally do not accept external contributions. This policy
5-
will change in the future, so please check back regularly for updates.
3+
Hello! Thanks for your interest in joining the mission to accelerate the mass adoption of crypto for personal
4+
sovereignty! We welcome contributions from anyone on the internet, and are grateful for even the smallest of fixes!
65

7-
For security issues, please contact us at [security@matterlabs.dev](mailto:security@matterlabs.dev).
6+
## Ways to contribute
87

9-
Thank you for your support in accelerating the mass adoption of crypto for personal sovereignty!
8+
There are many ways to contribute to the ZK Stack:
9+
10+
1. Open issues: if you find a bug, have something you believe needs to be fixed, or have an idea for a feature, please
11+
open an issue.
12+
2. Add color to existing issues: provide screenshots, code snippets, and whatever you think would be helpful to resolve
13+
issues.
14+
3. Resolve issues: either by showing an issue isn't a problem and the current state is ok as is or by fixing the problem
15+
and opening a PR.
16+
4. Report security issues, see [our security policy](./github/SECURITY.md).
17+
5. [Join the team!](https://matterlabs.notion.site/Shape-the-future-of-Ethereum-at-Matter-Labs-dfb3b5a037044bb3a8006af2eb0575e0)
18+
19+
## Fixing issues
20+
21+
To contribute code fixing issues, please fork the repo, fix an issue, commit, add documentation as per the PR template,
22+
and the repo's maintainers will review the PR.
23+
[here](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork)
24+
for guidance how to work with PRs created from a fork.
25+
26+
## Licenses
27+
28+
If you contribute to this project, your contributions will be made to the project under both Apache 2.0 and the MIT
29+
license.
30+
31+
## Resources
32+
33+
We aim to make it as easy as possible to contribute to the mission. This is still WIP, and we're happy for contributions
34+
and suggestions here too. Some resources to help:
35+
36+
1. [In-repo docs aimed at developers](docs)
37+
2. [zkSync Era docs!](https://era.zksync.io/docs/)
38+
3. Company links can be found in the [repo's readme](README.md)
39+
40+
## Code of Conduct
41+
42+
Be polite and respectful.
43+
44+
### Thank you

SECURITY.md

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
# Security Policy
2+
3+
We truly appreciate efforts to discover and disclose security issues responsibly!
4+
5+
## Vulnerabilities
6+
7+
If you'd like to report a security issue in the repositories of matter-labs organization, please proceed to our
8+
[Bug Bounty Program on Immunefi](https://era.zksync.io/docs/reference/troubleshooting/audit-bug-bounty.html#bug-bounty-program).
9+
10+
## Other Security Issues
11+
12+
We take an impact-first approach instead of a rules-first approach. Therefore, if you believe you found the impactful
13+
issue but can't report it via the Bug Bounty, please email us at
14+
[security@matterlabs.dev](mailto:security@matterlabs.dev).
15+
16+
### PGP Key
17+
18+
The following PGP key may be used to communicate sensitive information to developers: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