From a5b33249d74f74f82324ca8a863c2303acac88c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=B6ller?= Date: Thu, 22 Aug 2019 20:50:01 +0200 Subject: [PATCH] Enhancement: Provide action.yml --- Dockerfile | 5 ----- action.yml | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) create mode 100644 action.yml diff --git a/Dockerfile b/Dockerfile index 6fdfbcc..26a1f3d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,5 @@ FROM php:7.3-alpine -LABEL "com.github.actions.name"="localheinz/composer-normalize-action" -LABEL "com.github.actions.description"="Ensure your PHP project has a normalized composer.json." -LABEL "com.github.actions.icon"="box" -LABEL "com.github.actions.color"="green" - LABEL "repository"="https://github.com/localheinz/composer-normalize-action" LABEL "homepage"="https://github.com/localheinz/composer-normalize" LABEL "maintainer"="Andreas Möller " diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..760fff3 --- /dev/null +++ b/action.yml @@ -0,0 +1,15 @@ +# https://help.github.com/en/articles/metadata-syntax-for-github-actions + +name: 'localheinz/composer-normalize-action' + +branding: + icon: 'box' + color: 'green' + +description: 'Ensure your PHP project has a normalized composer.json.' + +author: Andreas Möller + +runs: + using: 'docker' + image: 'docker://localheinz/composer-normalize-action'