Skip to content

[IT-3396] Use a better jinja linter #103

[IT-3396] Use a better jinja linter

[IT-3396] Use a better jinja linter #103

Workflow file for this run

name: aws-deploy
on:
push:
branches: [ '*' ]
tags: [ 'v[0-9]+\.[0-9]+\.[0-9]+' ]
pull_request:
branches: [ '*' ]
concurrency:
group: ${{ github.workflow }}
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.9
- uses: pre-commit/action@v3.0.0
deploy:
name: Upload to Amazon S3
runs-on: ubuntu-latest
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/v') }}
needs: [ "pre-commit", "jinja-lint" ]

Check failure on line 27 in .github/workflows/deploy.yaml

View workflow run for this annotation

GitHub Actions / aws-deploy

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yaml (Line: 27, Col: 28): Job 'deploy' depends on unknown job 'jinja-lint'.
permissions:
id-token: write
contents: read
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Assume AWS Role
uses: aws-actions/configure-aws-credentials@v1
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::745159704268:role/sagebase-github-oidc-cfn-template-deploy
role-session-name: GitHubActions-${{ github.repository_owner }}-${{ github.event.repository.name }}-${{ github.run_id }}
role-duration-seconds: 900
- name: Copy files with the AWS CLI
run: |
aws s3 cp templates s3://bootstrap-awss3cloudformationbucket-19qromfd235z9/${{ github.event.repository.name }}/${{ github.ref_name }}/ --recursive