Skip to content

Commit

Permalink
Merge pull request #5 from JasonEtco/fix-bugs
Browse files Browse the repository at this point in the history
Make it not broken
  • Loading branch information
JasonEtco committed Feb 17, 2019
2 parents f9d4237 + e4b7522 commit d10d7bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:10-slim
FROM node:10-alpine

LABEL "com.github.actions.name"="Create an issue"
LABEL "com.github.actions.description"="Creates a new issue using a template with front matter."
Expand Down
4 changes: 2 additions & 2 deletions entrypoint.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
const { Toolkit } = require('actions-toolkit')
const IssueCreator = require('.')
const Toolkit = require('actions-toolkit')

const tools = new Toolkit()
const issueCreator = new IssueCreator(tools)
issueCreator.go()
.then(issue => {
tools.log(`Created issue ${issue.data.title}#${issue.data.number}: ${issue.data.html_url}`)
tools.log.success(`Created issue ${issue.data.title}#${issue.data.number}: ${issue.data.html_url}`)
})

0 comments on commit d10d7bc

Please sign in to comment.