Skip to content

Commit

Permalink
Add action
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Evans committed Nov 24, 2019
1 parent 911d287 commit eaa4371
Show file tree
Hide file tree
Showing 7 changed files with 17,237 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
},
"rules": {
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node_modules
24 changes: 24 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: 'Create or Update Comment'
description: 'Create or update an issue or pull request comment'
inputs:
token:
description: 'A GitHub access token.'
required: true
repository:
description: 'The full name of the repository to create or update a comment.'
issue-number:
description: 'The number of the issue in which to create a comment.'
comment-id:
description: 'The id of the comment to update.'
body:
description: 'The comment body.'
edit-mode:
description: 'The mode when updating a comment, "replace" or "append".'
reaction-type:
description: 'The reaction to add to the comment.'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'message-square'
color: 'gray-dark'
Loading

0 comments on commit eaa4371

Please sign in to comment.