Revert "PYIC-7612: configure healthcheck for ECS" #450
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Checkov static analysis on the template | |
on: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
paths: | |
- "deploy/template.yaml" | |
jobs: | |
RunCheckov: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.8 | |
- name: install checkov | |
run: pip3 install checkov | |
- name: run checkov | |
run: checkov --directory deploy | |
RunSamValidate: | |
runs-on: ubuntu-latest | |
timeout-minutes: 15 | |
permissions: | |
id-token: write | |
contents: read | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
- uses: aws-actions/setup-sam@v2 | |
with: | |
use-installer: true | |
- run: sam validate -t deploy/template.yaml --region eu-west-2 --lint |