Skip to content

Enable Action to run on-demand #66

Enable Action to run on-demand

Enable Action to run on-demand #66

Workflow file for this run

name: PR Checks
on:
push:
branches: [ main ]
workflow_dispatch:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run-linters:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Shellcheck
run: shellcheck ${{ github.workspace }}/*.sh
- name: Lint IAM policy documents
run: find ${{ github.workspace }} -maxdepth 1 \( -name '*.json' -o -name '*.json.template' \) -exec jq -c . {} +