Skip to content

[IT-3396] Switch jinja linter #11

[IT-3396] Switch jinja linter

[IT-3396] Switch jinja linter #11

Workflow file for this run

name: main
on:
pull_request:
branches: ['*']
push:
branches: ['*']
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/[email protected]
deploy-agoradev-common:
if: github.ref == 'refs/heads/main'
needs: [pre-commit, jinja-lint]

Check failure on line 21 in .github/workflows/main.yaml

View workflow run for this annotation

GitHub Actions / main

Invalid workflow file

The workflow is not valid. .github/workflows/main.yaml (Line: 21, Col: 25): Job 'deploy-agoradev-common' depends on unknown job 'jinja-lint'. .github/workflows/main.yaml (Line: 28, Col: 13): Job 'deploy-agoradev' depends on job 'deploy-agoradev-common' which creates a cycle in the dependency graph.
uses: "./.github/workflows/aws-deploy.yaml"
with:
role-to-assume: "arn:aws:iam::607346494281:role/sagebase-github-oidc-agora-infra-deploy"
sceptre-command: "sceptre launch common --prune --yes"
deploy-agoradev:
if: github.ref == 'refs/heads/main'
needs: [deploy-agoradev-common]
uses: "./.github/workflows/aws-deploy.yaml"
with:
role-to-assume: "arn:aws:iam::607346494281:role/sagebase-github-oidc-agora-infra-deploy"
sceptre-command: "sceptre launch agoradev/develop --prune --yes"
deploy-agoraprod-common:
if: github.ref == 'refs/heads/main'
needs: [deploy-agoradev]
uses: "./.github/workflows/aws-deploy.yaml"
with:
role-to-assume: "arn:aws:iam::681175625864:role/sagebase-github-oidc-agora-infra-deploy"
sceptre-command: "sceptre launch common --prune --yes"
deploy-agoraprod-staging:
if: github.ref == 'refs/heads/main'
needs: [deploy-agoraprod-common]
uses: "./.github/workflows/aws-deploy.yaml"
with:
role-to-assume: "arn:aws:iam::681175625864:role/sagebase-github-oidc-agora-infra-deploy"
sceptre-command: "sceptre launch agoraprod/staging --prune --yes"
deploy-agoraprod-prod:
if: github.ref == 'refs/heads/main'
needs: [deploy-agoraprod-staging]
uses: "./.github/workflows/aws-deploy.yaml"
with:
role-to-assume: "arn:aws:iam::681175625864:role/sagebase-github-oidc-agora-infra-deploy"
sceptre-command: "sceptre launch agoraprod/prod --prune --yes"