From 03ee1378cbc1e19c663192f01be0afe51baaa76b Mon Sep 17 00:00:00 2001 From: 839 <8398a7@gmail.com> Date: Fri, 16 Aug 2019 00:19:52 +0900 Subject: [PATCH] Prepare repository --- LICENSE | 4 ++-- README.md | 10 ++++------ action.yml | 4 ++-- package.json | 15 ++++++++++----- 4 files changed, 18 insertions(+), 15 deletions(-) diff --git a/LICENSE b/LICENSE index a426ef2..37ec030 100644 --- a/LICENSE +++ b/LICENSE @@ -1,7 +1,7 @@ The MIT License (MIT) -Copyright (c) 2018 GitHub, Inc. and contributors +Copyright (c) 2018 8398a7, Inc. and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -19,4 +19,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file +THE SOFTWARE. diff --git a/README.md b/README.md index cdbe411..da5261a 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ -# JavaScript Action Template +# Action Slack -This template offers an easy way to get started writing a javascript action with TypeScript compile time support, unit testing with Jest and using the GitHub Actions Toolkit. +You can notify slack of GitHub Actions. -## Getting Started +## Usage -See the walkthrough located [here](https://github.com/actions/toolkit/blob/master/docs/javascript-action.md). - -In addition to walking your through how to create an action, it also provides strategies for versioning, releasing and referencing your actions. +TODO diff --git a/action.yml b/action.yml index 2b3b1b0..fef40a6 100644 --- a/action.yml +++ b/action.yml @@ -1,7 +1,7 @@ name: 'Node 12 Template Action' description: 'Get started with Node actions' -author: 'GitHub' -inputs: +author: '8398a7' +inputs: myInput: description: 'Input to use' default: 'world' diff --git a/package.json b/package.json index 37620dc..80dd243 100644 --- a/package.json +++ b/package.json @@ -1,23 +1,27 @@ { - "name": "node12-template-action", + "name": "action-slack", "version": "0.0.0", "private": true, - "description": "Node 12 template action", + "description": "You can notify slack of GitHub Actions.", "main": "lib/main.js", "scripts": { "build": "tsc", + "format": "prettier --write **/*.ts", + "format-check": "prettier --check **/*.ts", "test": "jest" }, "repository": { "type": "git", - "url": "git+https://github.com/actions/node12-template.git" + "url": "git+https://github.com/8398a7/action-slack.git" }, "keywords": [ "actions", "node", - "setup" + "setup", + "chat", + "slack" ], - "author": "GitHub", + "author": "8398a7", "license": "MIT", "dependencies": { "@actions/core": "^1.0.0", @@ -31,6 +35,7 @@ "@types/jest": "^24.0.13", "@types/node": "^12.0.4", "@types/semver": "^6.0.0", + "prettier": "^1.18.2", "jest": "^24.8.0", "jest-circus": "^24.7.1", "ts-jest": "^24.0.2",