Skip to content

Commit

Permalink
Init action steps
Browse files Browse the repository at this point in the history
  • Loading branch information
GriffinMB committed Jan 3, 2021
1 parent 7ca60ae commit cfd3564
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM elixir:1.11.2

COPY sobelow.sh /sobelow.sh

ENTRYPOINT ["/sobelow.sh"]
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
# action
Sobelow GitHub
# Sobelow Action

...
13 changes: 13 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Sobelow
author: Griffin Byatt
description: Security-focused static analysis for the Phoenix Framework

inputs:
flags:
description: "Flags (https://github.com/nccgroup/sobelow#options)"

runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.flags }}
6 changes: 6 additions & 0 deletions sobelow.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh -l

mix local.hex --force
mix escript.install github nccgroup/sobelow --force

~/.mix/escripts/sobelow $1

0 comments on commit cfd3564

Please sign in to comment.