Skip to content
name: "Run Container Workflow"
description: "Runs a specified container workflow"
on: workflow_call
inputs:
workflow:
description: "The workflow file to run"
required: true
jobs:
steps:
- name: Checkout code

Check failure on line 11 in .github/workflows/run-container-workflow.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/run-container-workflow.yaml

Invalid workflow file

You have an error in your yaml syntax on line 11
uses: actions/checkout@v2
- name: Run specified workflow
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh workflow run .github/workflows/container-${{ inputs.container }}.yaml