Skip to content

sls-mentor/sls-mentor-github-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sls-mentor-github-action

Github action related to sls-mentor

https://sls-mentor.dev/

You don't need this action

Github Actions have everything that you need to run sls-mentor out of the box now, to do that simply use the run commands like so, with the right values for myIAMRoleArn and myRegion:

name: CI
on: push
jobs:
build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Run sls-mentor
      uses: sls-mentor/sls-mentor-github-action@v0.6
      with: 
        iam-role: myIAMRoleArn
        aws-region: myRegion

This action executes sls-mentor infrastructure audit on specified AWS account without any previous action/build step.

Configuring an IAM role for the action

You should use a Github action role configured with OIDC for Github.