Skip to content

Commit

Permalink
Include edited event for autolabeler (#931)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanecabellob committed Sep 6, 2021
1 parent ec45718 commit fbb074a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CONTRIBUTING.md
Expand Up @@ -12,16 +12,16 @@ Please note that this project is released with a [Contributor Code of Conduct][c
## Submitting a pull request

1. [Fork][fork] and clone the repository
1. Configure and install the dependencies: `npm install`
1. Make sure the tests pass on your machine: `npm test`, note: these tests also apply the linter, so no need to lint seperately
1. Configure and install the dependencies: `yarn install`
1. Make sure the tests pass on your machine: `yarn test`, note: these tests also apply the linter, so no need to lint seperately
1. Create a new branch: `git checkout -b my-branch-name`
1. Make your change, add tests, and make sure the tests still pass
1. Make your change, add tests, build with `yarn prettier && yarn lint --fix && yarn build` and make sure the tests still pass
1. Push to your fork and [submit a pull request][pr]
1. Give yourself a high five, and wait for your pull request to be reviewed and merged.

Here are a few things you can do that will increase the likelihood of your pull request being accepted:

- Follow the [style guide][style] which is using standard. Any linting errors should be shown when running `npm test`
- Follow the [style guide][style] which is using standard. Any linting errors should be shown when running `yarn test`
- Write and update tests.
- 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.
- Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
Expand Down
1 change: 1 addition & 0 deletions dist/index.js
Expand Up @@ -41,6 +41,7 @@ module.exports = (app, { getRouter }) => {
'pull_request.opened',
'pull_request.reopened',
'pull_request.synchronize',
'pull_request.edited',
],
async (context) => {
const { disableAutolabeler } = getInput()
Expand Down
1 change: 1 addition & 0 deletions index.js
Expand Up @@ -27,6 +27,7 @@ module.exports = (app, { getRouter }) => {
'pull_request.opened',
'pull_request.reopened',
'pull_request.synchronize',
'pull_request.edited',
],
async (context) => {
const { disableAutolabeler } = getInput()
Expand Down

0 comments on commit fbb074a

Please sign in to comment.