Skip to content

Commit 0f52a77

Browse files
committed
Cleanup
1 parent cf6b198 commit 0f52a77

File tree

2 files changed

+54
-56
lines changed

2 files changed

+54
-56
lines changed

CONTRIBUTING.md

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
We'd love for you to contribute to our source code and to make the Forest even better than it is today! Here are the guidelines we'd like you to follow:
44

5-
- [Question or Problem?](#question)
6-
- [Issues and Bugs](#issue)
7-
- [Feature Requests](#feature)
8-
- [Submission Guidelines](#submit)
9-
- [Further Info](#info)
5+
* [Question or Problem?](#question)
6+
* [Issues and Bugs](#issue)
7+
* [Feature Requests](#feature)
8+
* [Submission Guidelines](#submit)
9+
* [Further Info](#info)
1010

1111
## <a name="question"></a> Got a Question or Problem?
1212

@@ -24,8 +24,8 @@ If you find a bug in the source code or a mistake in the documentation, you can
2424

2525
You can request a new feature by submitting an issue to our [Github Repository][github]. If you would like to implement a new feature then consider what kind of change it is:
2626

27-
- **Major Changes** that you wish to contribute to the project should be discussed first on our [Slack group][slack] so that we can better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
28-
- **Small Changes** can be crafted and submitted to the [Github Repository][github] as a Pull Request.
27+
* **Major Changes** that you wish to contribute to the project should be discussed first on our [Slack group][slack] so that we can better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted into the project.
28+
* **Small Changes** can be crafted and submitted to the [Github Repository][github] as a Pull Request.
2929

3030
## <a name="docs"></a> Want a Doc Fix?
3131

@@ -41,12 +41,12 @@ Before you submit your issue search the archive, maybe your question was already
4141

4242
If your issue appears to be a bug, and hasn't been reported, open a new issue. Help us to maximize the effort we can spend fixing issues and adding new features, by not reporting duplicate issues. Providing the following information will increase the chances of your issue being dealt with quickly:
4343

44-
- **Overview of the Issue** - if an error is being thrown a non-minified stack trace helps
45-
- **Motivation for or Use Case** - explain why this is a bug for you
46-
- **Forest Version(s)** - is it a regression?
47-
- **Reproduce the Error** - try to describe how to reproduce the error
48-
- **Related Issues** - has a similar issue been reported before?
49-
- **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be
44+
* **Overview of the Issue** - if an error is being thrown a non-minified stack trace helps
45+
* **Motivation for or Use Case** - explain why this is a bug for you
46+
* **Forest Version(s)** - is it a regression?
47+
* **Reproduce the Error** - try to describe how to reproduce the error
48+
* **Related Issues** - has a similar issue been reported before?
49+
* **Suggest a Fix** - if you can't fix the bug yourself, perhaps you can point to what might be
5050
causing the problem (line of code or commit)
5151

5252
**If you get help, help others. Good karma rulez!**
@@ -55,45 +55,45 @@ If your issue appears to be a bug, and hasn't been reported, open a new issue. H
5555

5656
Before you submit your merge request consider the following guidelines:
5757

58-
- Make your changes in a new git branch:
58+
* Make your changes in a new git branch:
5959

60-
```shell
61-
git checkout -b my-fix-branch develop
62-
```
60+
```shell
61+
git checkout -b my-fix-branch develop
62+
```
6363

64-
- Create your patch, **including appropriate test cases**.
65-
- Run the test suite and ensure that all tests pass.
66-
- Add a line in the CHANGELOG.md under Unreleased. This will be used form generating the release notes.
67-
- Install [pre-commit hooks](https://pre-commit.com/). The hooks runs some basic checks and update the docs. The commit will run the hooks, you can invoke the hooks manually `pre-commit run --all-files` as well.
68-
- Commit your changes using a descriptive commit message.
64+
* Create your patch, **including appropriate test cases**.
65+
* Run the test suite and ensure that all tests pass.
66+
* Add a line in the CHANGELOG.md under Unreleased. This will be used form generating the release notes.
67+
* Install [pre-commit hooks](https://pre-commit.com/). The hooks runs some basic checks and update the docs. The commit will run the hooks, you can invoke the hooks manually `pre-commit run --all-files` as well.
68+
* Commit your changes using a descriptive commit message.
6969

70-
```shell
71-
git commit -a
72-
```
70+
```shell
71+
git commit -a
72+
```
7373

7474
Note: the optional commit `-a` command line option will automatically "add" and "rm" edited files.
7575

76-
- Build your changes locally to ensure all the tests pass:
77-
- Push your branch to Github:
76+
* Build your changes locally to ensure all the tests pass:
77+
* Push your branch to Github:
7878

79-
```shell
80-
git push origin my-fix-branch
81-
```
79+
```shell
80+
git push origin my-fix-branch
81+
```
8282

8383
In Github, send a pull request to original develop branch: f.e. `terraform-aws-vpc:develop`.
8484
If we suggest changes, then:
8585

86-
- Make the required updates.
87-
- Re-run the test suite to ensure tests are still passing.
88-
- Commit your changes to your branch (e.g. `my-fix-branch`).
89-
- Push the changes to your Github repository (this will update your Pull Request).
86+
* Make the required updates.
87+
* Re-run the test suite to ensure tests are still passing.
88+
* Commit your changes to your branch (e.g. `my-fix-branch`).
89+
* Push the changes to your Github repository (this will update your Pull Request).
9090

9191
If the PR gets too outdated we may ask you to rebase and force push to update the PR:
9292

93-
```shell
94-
git rebase develop -i
95-
git push origin my-fix-branch -f
96-
```
93+
```shell
94+
git rebase develop -i
95+
git push origin my-fix-branch -f
96+
```
9797

9898
_WARNING: Squashing or reverting commits and force-pushing thereafter may remove Github comments on code that were previously made by you or others in your commits. Avoid any form of rebasing unless necessary._
9999

@@ -104,29 +104,29 @@ That's it! Thank you for your contribution!
104104
After your pull request is merged, you can safely delete your branch and pull the changes
105105
from the main (upstream) repository:
106106
107-
- Delete the remote branch on Github either through the Github web UI or your local shell as follows:
107+
* Delete the remote branch on Github either through the Github web UI or your local shell as follows:
108108
109-
```shell
110-
git push origin --delete my-fix-branch
111-
```
109+
```shell
110+
git push origin --delete my-fix-branch
111+
```
112112
113-
- Check out the develop branch:
113+
* Check out the develop branch:
114114
115-
```shell
116-
git checkout develop -f
117-
```
115+
```shell
116+
git checkout develop -f
117+
```
118118
119-
- Delete the local branch:
119+
* Delete the local branch:
120120
121-
```shell
122-
git branch -D my-fix-branch
123-
```
121+
```shell
122+
git branch -D my-fix-branch
123+
```
124124
125-
- Update your develop with the latest upstream version:
125+
* Update your develop with the latest upstream version:
126126
127-
```shell
128-
git pull --ff upstream develop
129-
```
127+
```shell
128+
git pull --ff upstream develop
129+
```
130130
131131
## <a name="info"></a> Info
132132

modules/webhook/lambdas/webhook/src/webhook/handler.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// import { mocked } from 'ts-jest/utils';
21
import { handle } from './handler';
32
import { mocked } from 'ts-jest/utils';
43
import { Webhooks } from '@octokit/webhooks';
@@ -8,7 +7,6 @@ import workflowjob_event from '../../test/resources/github_workflowjob_event.jso
87
import checkrun_event from '../../test/resources/github_check_run_event.json';
98
import nock from 'nock';
109

11-
const mockDecrypt = jest.fn();
1210
jest.mock('../sqs');
1311
jest.mock('../ssm');
1412

0 commit comments

Comments
 (0)