Skip to content

Commit 38d82a8

Browse files
author
Federico Builes
authored
Merge branch 'main' into fix/deprecated_set-output
2 parents c239bf6 + e577fe1 commit 38d82a8

File tree

3 files changed

+70
-3
lines changed

3 files changed

+70
-3
lines changed

CONTRIBUTING.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Contributing
2+
3+
[fork]: https://github.com/github/dependency-submission-toolkit/fork
4+
[pr]: https://github.com/github/dependency-submission-toolkit/compare
5+
[code-of-conduct]: CODE_OF_CONDUCT.md
6+
7+
Hi there! We're thrilled that you'd like to contribute to this project. Your help is essential for keeping it great.
8+
9+
Contributions to this project are
10+
[released](https://help.github.com/articles/github-terms-of-service/#6-contributions-under-repository-license)
11+
to the public under the [project's open source license](LICENSE).
12+
13+
Please note that this project is released with a [Contributor Code of
14+
Conduct][code-of-conduct]. By participating in this project you agree
15+
to abide by its terms.
16+
17+
### Bootstrapping the project
18+
19+
```
20+
git clone https://github.com/github/dependency-submission-toolkit.git
21+
cd dependency-submission-toolkit
22+
npm install
23+
```
24+
25+
### Running the tests
26+
27+
```
28+
npm run test
29+
```
30+
31+
## Submitting a pull request
32+
33+
0. [Fork][fork] and clone the repository
34+
1. Configure and install the dependencies: `npm install`
35+
2. Make sure the tests pass on your machine: `npm run test`
36+
3. Create a new branch: `git checkout -b my-branch-name`
37+
4. Make your change, add tests, and make sure the tests still pass
38+
5. Make sure to build and package before pushing: `npm run all`
39+
6. Push to your fork and [submit a pull request][pr]
40+
7. Pat your self on the back and wait for your pull request to be reviewed and merged.
41+
42+
Here are a few things you can do that will increase the likelihood of your pull request being accepted:
43+
44+
- Write tests.
45+
- Keep your change as focused as possible. If there are multiple changes you would like to make that are not dependent upon each other, consider submitting them as separate pull requests.
46+
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
47+
48+
## Cutting a new release
49+
50+
1. Update the version number in [package.json](https://github.com/github/dependency-submission-toolkit/blob/main/package.json).
51+
1. Go to [Draft a new
52+
release](https://github.com/github/dependency-submission-toolkit/releases/new)
53+
in the Releases page.
54+
1. Make sure that the `Publish this Action to the GitHub Marketplace`
55+
checkbox is enabled
56+
3. Click "Choose a tag" and then "Create new tag", where the tag name
57+
will be your version prefixed by a `v` (e.g. `v1.2.3`).
58+
4. Use a version number for the release title (e.g. "v1.2.3").
59+
5. Add your release notes. If this is a major version make sure to
60+
include a small description of the biggest changes in the new version.
61+
6. Click "Publish Release".
62+
63+
## Resources
64+
65+
- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)
66+
- [Using Pull Requests](https://help.github.com/articles/about-pull-requests/)
67+
- [GitHub Help](https://help.github.com)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@github/dependency-submission-toolkit",
3-
"version": "1.2.4",
3+
"version": "1.2.7",
44
"description": "A TypeScript library for creating dependency snapshots.",
55
"prepare": "npm run build",
66
"main": "dist/index.js",

0 commit comments

Comments
 (0)