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

Accept label action for PR and issues #30

Merged
merged 2 commits into from
Jun 2, 2020
Merged

Accept label action for PR and issues #30

merged 2 commits into from
Jun 2, 2020

Conversation

xinyuluo
Copy link
Collaborator

@xinyuluo xinyuluo commented Jun 2, 2020

Description of the task

Label action in PR and issues are now accepted.

How to test

In mock_payloads, one can find pull_request.labeled_two_labels.json and issues.labeled.json.

To test that label action is now accepted, run the following commands:

./notabot check --json path/to/file

The expected output for the above two json files should be:

Using push routing:  
  backend/api* -> #aa
  backend/megaindex* or backend/ahrefskit* -> #backend
  any -> #all-push-events
Using pull request routing:
  backend* -> #backend
  aa* -> #aa-git
  siren* -> #siren
  not backend* or aa* or siren* -> #frontend-bot

with url(s) containing information about the PR/issue and its new labels.

@xinyuluo xinyuluo merged commit 3626374 into master Jun 2, 2020
@xinyuluo xinyuluo deleted the label_event branch June 2, 2020 06:24
yasunariw pushed a commit that referenced this pull request Nov 30, 2021
Accept label action for PR and issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants