From 08202fee801955c7fa8f656266327c7d1cf88624 Mon Sep 17 00:00:00 2001 From: Cosmin Cojocar Date: Mon, 6 Apr 2020 18:08:01 +0200 Subject: [PATCH] Add a GitHub action to run gosec Signed-off-by: Cosmin Cojocar --- action.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 action.yml diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..99a9f9b --- /dev/null +++ b/action.yml @@ -0,0 +1,19 @@ +name: 'Gosec' +description: 'Runs the gosec security checker' +author: '@ccojocar' + +inputs: + args: + description: 'Arguments for gosec' + required: true + default: '-h' + +runs: + using: 'docker' + image: 'docker://securego/gosec' + args: + - ${{ inputs.args }} + +branding: + icon: 'shield' + color: 'blue'