Skip to content

fix: 👷 Github actions shared #18

fix: 👷 Github actions shared

fix: 👷 Github actions shared #18

Workflow file for this run

name: Python Workflow
on:
push:
branches:
# Run on our main branch
- main
paths:
- example-python/**
pull_request:
# Run for any pull requests
paths:
- example-python/**
release:
types: [created]
jobs:
python-linting:
uses: ./.github/workflows/component-python-lint.yml@main

Check failure on line 19 in .github/workflows/workflow-python.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/workflow-python.yml

Invalid workflow file

invalid value workflow reference: cannot specify version when calling local workflows
with:
context: example-python
python-security:
uses: ./.github/workflows/component-python-security.yml@main
with:
context: example-python
container-image-build:
needs: [python-linting, python-security]
uses: ./.github/workflows/component-container-image.yml@main
with:
context: example-python
image-path: ghcr.io/british-oceanographic-data-centre/amrit-repos/python/app
container-image-security:
needs: [container-image-build]
uses: ./.github/workflows/component-container-image-security.yml@main
with:
context: example-python
image-path: ghcr.io/british-oceanographic-data-centre/amrit-repos/python/app