Skip to content
This repository was archived by the owner on Apr 11, 2022. It is now read-only.

Commit 7a05c12

Browse files
committed
filter out member-type events
1 parent 8da953b commit 7a05c12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/index.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,9 @@ module.exports = async options => {
114114
let filteredEvents = {};
115115

116116
const isDependabot = action.actor.display_login === 'dependabot';
117+
const isMemberEvent = action.type === 'MemberEvent';
117118

118-
if (!isEmpty(action.payload) && !isDependabot) {
119+
if (!isEmpty(action.payload) && !isDependabot && !isMemberEvent) {
119120
filteredEvents = {
120121
actor: action.actor.display_login,
121122
repo: action.repo.name,

0 commit comments

Comments
 (0)