Skip to content

Commit b5876bd

Browse files
authored
Repo maintenance (#128)
* Create dependabot.yml * Update package.json * Create CODEOWNERS * Create CONTRIBUTING.md * Create SECURITY.md
1 parent a1e2cd1 commit b5876bd

File tree

5 files changed

+94
-2
lines changed

5 files changed

+94
-2
lines changed

.github/dependabot.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm"
9+
directory: "/"
10+
open-pull-requests-limit: 5
11+
schedule:
12+
interval: "weekly"

CODEOWNERS

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Lines starting with '#' are comments.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# These owners will be the default owners for everything in the repo.
5+
* @heroku/front-end
6+
#ECCN:Open Source

CONTRIBUTING.md

+67
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Contributing Guide For Heroku CLI Repo Plugin
2+
3+
This page lists the operational governance model of this project, as well as the recommendations and requirements for how to best contribute to the Heroku CLI Repo Plugin. We strive to obey these as best as possible. As always, thanks for contributing – we hope these guidelines make it easier and shed some light on our approach and processes.
4+
5+
# Governance Model
6+
## Published but not supported
7+
8+
The intent and goal of open sourcing this project is because it may contain useful or interesting code/concepts that we wish to share with the larger open source community. Although occasional work may be done on it, we will not be looking for or soliciting contributions.
9+
10+
# Issues, requests & ideas
11+
12+
Use GitHub Issues page to submit issues, enhancement requests and discuss ideas.
13+
14+
### Bug Reports and Fixes
15+
- If you find a bug, please search for it in the [Issues](https://github.com/heroku/heroku-repo/issues), and if it isn't already tracked,
16+
[create a new issue](https://github.com/heroku/heroku-repo/issues/new). Fill out the "Bug Report" section of the issue template. Even if an Issue is closed, feel free to comment and add details, it will still
17+
be reviewed.
18+
- Issues that have already been identified as a bug (note: able to reproduce) will be labelled `bug`.
19+
- If you'd like to submit a fix for a bug, [send a Pull Request](#creating_a_pull_request) and mention the Issue number.
20+
- Include tests that isolate the bug and verifies that it was fixed.
21+
22+
### New Features
23+
- If you'd like to add new functionality to this project, describe the problem you want to solve in a [new Issue](https://github.com/heroku/heroku-repo/issues/new).
24+
- Issues that have been identified as a feature request will be labelled `enhancement`.
25+
- If you'd like to implement the new feature, please wait for feedback from the project
26+
maintainers before spending too much time writing the code. In some cases, `enhancement`s may
27+
not align well with the project objectives at the time.
28+
29+
### Tests, Documentation, Miscellaneous
30+
- If you'd like to improve the tests, you want to make the documentation clearer, you have an
31+
alternative implementation of something that may have advantages over the way its currently
32+
done, or you have any other change, we would be happy to hear about it!
33+
- If its a trivial change, go ahead and [send a Pull Request](#creating_a_pull_request) with the changes you have in mind.
34+
- If not, [open an Issue](https://github.com/heroku/heroku-repo/issues/new) to discuss the idea first.
35+
36+
If you're new to our project and looking for some way to make your first contribution, look for Issues labelled `good first contribution`.
37+
38+
# Contribution Checklist
39+
40+
- [x] Clean, simple, well styled code
41+
- [x] Commits should be atomic and messages must be descriptive. Related issues should be mentioned by Issue number.
42+
- [x] Comments
43+
- Module-level & function-level comments.
44+
- Comments on complex blocks of code or algorithms (include references to sources).
45+
- [x] Tests
46+
- The test suite, if provided, must be complete and pass
47+
- Increase code coverage, not versa.
48+
- [x] Dependencies
49+
- Minimize number of dependencies.
50+
- Prefer Apache 2.0, BSD3, MIT, ISC and MPL licenses.
51+
- [x] Reviews
52+
- Changes must be approved via peer code review
53+
54+
# Creating a Pull Request
55+
56+
1. **Ensure the bug/feature was not already reported** by searching on GitHub under Issues. If none exists, create a new issue so that other contributors can keep track of what you are trying to add/fix and offer suggestions (or let you know if there is already an effort in progress).
57+
3. **Clone** the forked repo to your machine.
58+
4. **Create** a new branch to contain your work (e.g. `git br fix-issue-11`)
59+
4. **Commit** changes to your own branch.
60+
5. **Push** your work back up to your fork. (e.g. `git push fix-issue-11`)
61+
6. **Submit** a Pull Request against the `main` branch and refer to the issue(s) you are fixing. Try not to pollute your pull request with unintended changes. Keep it simple and small.
62+
7. **Sign** the Salesforce CLA (you will be prompted to do so when submitting the Pull Request)
63+
64+
> **NOTE**: Be sure to [sync your fork](https://help.github.com/articles/syncing-a-fork/) before making a pull request.
65+
66+
# License
67+
By contributing your code, you agree to license your contribution under the terms of our project [LICENSE](LICENSE) and to sign the [Salesforce CLA](https://cla.salesforce.com/sign-cla)

SECURITY.md

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Security
2+
3+
Please report any security issue to [[email protected]](mailto:[email protected])
4+
as soon as it is discovered. This library limits its runtime dependencies in
5+
order to reduce the total cost of ownership as much as can be, but all consumers
6+
should remain vigilant and have their security stakeholders review all third-party
7+
products (3PP) like this one and their dependencies.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
2-
"name": "heroku-repo",
2+
"name": "@heroku-cli/heroku-repo",
33
"description": "Heroku CLI plugin to manipulate the repo",
44
"version": "1.0.14",
5-
"author": "Jeff Dickey (@dickeyxxx)",
5+
"author": "Heroku",
66
"bugs": {
77
"url": "https://github.com/heroku/heroku-repo/issues"
88
},

0 commit comments

Comments
 (0)