Skip to content
This repository was archived by the owner on Sep 1, 2019. It is now read-only.

Commit e0a36ba

Browse files
author
Alex Page
committed
Update index.js
1 parent dbc91b5 commit e0a36ba

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

index.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ const { Toolkit } = require( 'actions-toolkit' );
33

44
Toolkit.run( async ( tools ) => {
55
try {
6+
const event = tools.context.event;
7+
tools.log( event );
8+
69
// Get the arguments
710
const projectName = tools.arguments._[ 0 ];
811
const columnName = tools.arguments._[ 1 ];
@@ -92,6 +95,6 @@ Toolkit.run( async ( tools ) => {
9295
tools.exit.failure( error );
9396
}
9497
}, {
95-
event: [ 'issues.opened' ],
98+
event: [ 'issues' ],
9699
secrets: [ 'GITHUB_TOKEN' ],
97100
})

0 commit comments

Comments
 (0)