Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include edited event for autolabeler #931

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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