Skip to content

fix: flake8

fix: flake8 #2

Workflow file for this run

name: CI/CD Pipeline
run-name: "${{ github.actor }} - ${{ github.run_id }}"
on:
push:
branches: [main]
paths:
- 'src/**'
pull_request:
branches: [main]
paths:
- 'src/**'
workflow_dispatch:
inputs:
buildMode:
description: "Qual ação deseja fazer?"
required: true
default: 'Build'
type: choice
options:
- Build
- Build + Tag Validation
- Build + Tag Validation + Deploy
environments:
description: "Selecione o ambiente de implantação"
required: true
default: 'DEV'
type: environment
jobs:
build:
uses: felipementel/reusable-workflows/.github/workflows/python-sandbox-api-build.yml@main

Check failure on line 33 in .github/workflows/sandbox.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sandbox.yml

Invalid workflow file

error parsing called workflow ".github/workflows/sandbox.yml" -> "felipementel/reusable-workflows/.github/workflows/python-sandbox-api-build.yml@main" : workflow was not found. See https://docs.github.com/actions/learn-github-actions/reusing-workflows#access-to-reusable-workflows for more information.
with:
buildMode: 'Build + Push'
environment: 'DEV'
projectName: 'minha-api'
imageName: 'minha-api'
registryUsername: 'greennexus-core' # org no GHCR
secrets:
GITLEAKS_LICENSE: ${{ secrets.GITLEAKS_LICENSE }}
GH_PACKAGES_TOKEN: ${{ secrets.GH_PACKAGES_TOKEN }}
deploy:
needs: [build]
if: needs.build.outputs.image-exists == 'false'
uses: felipementel/reusable-workflows/.github/workflows/python-sandbox-api-deploy-aca.yml@main
with:
environment: 'DEV'
tagVersion: ${{ needs.build.outputs.tag-version }}
imageName: 'minha-api'
registryUsername: 'greennexus-core'
azureRgBase: ${{ vars.AZURE_RG }}
acaeBaseName: ${{ vars.AZURE_ACAE_BASE }}
secrets:
AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }}