commit 3e1141cd7e2228d24ac664376028ca65102487e6 Author: akiel Date: Fri Aug 14 15:32:31 2020 +0200 Add action's base files to work on top diff --git a/DockerFile b/DockerFile new file mode 100644 index 0000000..0b97507 --- /dev/null +++ b/DockerFile @@ -0,0 +1,3 @@ +FROM alpine:3.10 +COPY entrypoint.sh /entrypoint.sh +ENTRYPOINT ["/entrypoint.sh"] diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..b1daab0 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 Jorge Alberto Díaz Orozco (Akiel) diazorozcoj@gmail.com + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +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. diff --git a/README.md b/README.md new file mode 100644 index 0000000..2102960 --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +# Rocket.Chat notifications GitHub action + +This is my first action so I'll experiment here. +I'll write nice docs once I have at least a POC. diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..638cece --- /dev/null +++ b/action.yml @@ -0,0 +1,9 @@ +# action.yml +name: 'Rocket.Chat Notification' +description: 'Send a message to Rocket.Chat' +outputs: + response_code: + description: 'The response code for the http call' +runs: + using: 'docker' + image: 'Dockerfile' diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..5eac698 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,2 @@ +#!/usr/bin/env bash +echo "something going on here"