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

IssuesEvent not triggered by labeled and unlabeled #37

Open
dove-young opened this issue Jul 31, 2020 · 1 comment
Open

IssuesEvent not triggered by labeled and unlabeled #37

dove-young opened this issue Jul 31, 2020 · 1 comment

Comments

@dove-young
Copy link

IssuesEvent not triggered by labeled and unlabeled. But only could been triggered by close and reopen

In ruleengine.log I can find these payload, labeled, unlabeled acitons were found in rule engine.

repository_event:99914b932bd37a50b983c5e7c90ae93b', 'ref': 'github.repository_event', 'name': 'repository_event', 'pack': 'github', 'type': 'github.repository_event', 'parameters': {}, 
'id': '5f2375     89efffcd4fc64f3af7'}, trigger_instance={'trigger': 'github.repository_event', 
'payload': {'repository': 'argo', 'id': '13067851042', 'created_at': '2020-07-31 01:46:35', 'type': 'IssuesEvent', 'actor': {'id': 606882, 'login': 'dove-young', 'name': None, 'email': None, 
'loaction': None, 'bio': None, 'url': 'https:/dove-young'}, 
'payload': {'action': 'closed', 'issue': {'url': 'https://api.github.com/repos/dove-young/argo/issues/4', 
'repository_url': 'https://api.github.com/repos/dove-young/argo', 'labels_url': 'https://api.github.com/repos/dove-young/argo/issues/4/labels{/name}', 
'comments_url': 'https://api.github.com/repos/dove-young/argo/issues/4/comments', 
'events_url': 'https://api.github.com/repos/dove-young/argo/issues/4/events', 
'html_url': 'https:/dove-young/argo/issues/4', 'id': 663640196, 'node_id': 'MDU6SXNzdWU2NjM2NDAxOTY=', 'number': 4, 
'title': 'try a new issue', 'user': {'login': 'dove-young', 'id': 606882, 'node_id': 'MDQ6VXNlcjYwNjg4Mg==', 
'avatar_url': 'https://avatars1.githubusercontent.com/u/606882?v=4', 'gravatar_id': '', 
'url': 'https://api.github.com/users/dove-young', 'html_url': 'https:/dove-young', 'followers_url': 'https://api.github.com/users/dove-young/followers', 
'following_url': 'https://api.github.com/users/dove-young/following{/other_user}', 'gists_url': 'https://api.github.com/users/dove-young/gists{/gist_id}', 
'starred_url': 'https://api.github.com/users/dove-young/starred{/owner}{/repo}', 'subscriptions_url': 'https://api.github.com/users/dove-young/subscriptions', 
'organizations_url': 'https://api.github.com/users/dove-young/orgs', 'repos_url': 'https://api.github.com/users/dove-young/repos', 
'events_url': 'https://api.github.com/users/dove-young/events{/privacy}', 'received_events_url': 'https://api.github.com/users/dove-young/received_events',
 'type': 'User', 'site_admin': False}, 'labels': [{'id': 1619269632, 'node_id': 'MDU6TGFiZWwxNjE5MjY5NjMy', 'url': 'https://api.github.com/repos/dove-young/argo/labels/good%20first%20issue',
  'name': 'good first issue', 'color': '7057ff', 'default': True, 'description': 'Good for newcomers'}], 'state': 'closed', 'locked': False, 'assignee': None, 
  'assignees': [], 'milestone': None, 'comments': 7, 'created_at': '2020-07-22T10:09:09Z', 'updated_at': '2020-07-31T01:46:35Z', 'closed_at': '2020-07-31T01:46:35Z', 
  'author_association': 'OWNER', 'active_lock_reason': None, 'body': '**Is this a BUG REPORT or FEATURE REQUEST?**:

@dove-young
Copy link
Author

I found that assign, unassign, label, unlabel events are found in /:user/:repo/issues/events API.

And this pack sensor is query events via /:user/:repo/events API.

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

No branches or pull requests

1 participant