Skip to content

Fix GitHub Actions PR checks #78

Fix GitHub Actions PR checks

Fix GitHub Actions PR checks #78

Workflow file for this run

name: PR Checks
on:
push:
branches: [ main, test ]
workflow_dispatch:
branches: [ main ]
pull_request:
branches: [ main, test ]
jobs:
run-linters:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
# - name: Set up Python 3.8
# uses: actions/setup-python@v5
# with:
# python-version: 3.8
- name: Shellcheck
run: shellcheck ${{ github.workspace }}/*.sh
- name: Lint IAM policy documents
run: |
set -e
for f in $(find . -maxdepth 1 \( -name '*.json' -o -name '*.json.template' \))
do
echo "Checking JSON for $f"
jq -reM . $f 1>/dev/null || exit 1
done