Skip to content

CI Workflow triggered by pull_request event on bbc/rd-apmm-python-lib-mediagrains 140/merge #3

CI Workflow triggered by pull_request event on bbc/rd-apmm-python-lib-mediagrains 140/merge

CI Workflow triggered by pull_request event on bbc/rd-apmm-python-lib-mediagrains 140/merge #3

Workflow file for this run

name: CI Workflow
run-name: ${{ format('{0} triggered by {1} on {2} {3}', github.workflow, (github.event_name == 'workflow_dispatch' && format('user {0}', github.actor) || format('{0} event', github.event_name) ), github.repository, github.ref_name) }}
on:
schedule:
- cron: '0 4 * * 1-5'
# Pull requests and pushes will not trigger a run if the only changes are on workflows other than this one
pull_request:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/ci-workflow.yml'
push:
paths-ignore:
- '.github/workflows/**'
- '!.github/workflows/ci-workflow.yml'
branches:
- 'main'
workflow_dispatch:
# NOTE: Defaults here are only for the dispatch run dialogue box. See the shared workflow calls below for defaults for runs triggered by other means
inputs:
forceDocsUpload:
description: 'Force docs upload'
required: false
type: boolean
forceWheelUpload:
description: 'Force upload of Python Wheels to PyPi'
required: false
type: boolean
forceDockerUpload:
description: 'Force upload of docker images to public ECR'
required: false
type: boolean
pythonVersion:
description: 'Python version to use'
required: true
default: '3.10'
type: string
commontoolingBranch:
description: 'Commontooling branch or tag to use'
required: true
default: 'jamessa-extWorkflows'
type: string
jobs:
SharedCIWorkflow:
name: Shared Workflow
permissions:
actions: read
contents: read
pages: write
id-token: write
uses: ./.github/workflows/shared-ext-ci-workflow.yml

Check failure on line 55 in .github/workflows/ci-workflow.yml

View workflow run for this annotation

GitHub Actions / CI Workflow

Invalid workflow file

The workflow is not valid. In .github/workflows/ci-workflow.yml (Line: 55, Col: 11): Error from called workflow bbc/rd-apmm-python-lib-mediagrains/.github/workflows/shared-ext-ci-workflow.yml@04c1a23c3d4a198784c755d3021fdb0519149a90 (Line: 178, Col: 31): Unexpected end of expression: ')'. Located at position 71 within expression: ( inputs.forceDocsUpload || ( steps.shouldUpload.outcome == 'success' )
with:
# workflow_dispatch inputs are always strings. Convert to boolean.
forceDocsUpload: ${{ inputs.forceDocsUpload == true }}
forceWheelUpload: ${{ inputs.forceWheelUpload == true }}
forceDockerUpload: ${{ inputs.forceDockerUpload == true }}
pythonVersion: ${{ inputs.pythonVersion || '3.10' }}
commontoolingBranch: ${{ inputs.commontoolingBranch || 'jamessa-extWorkflows' }}
enableUploadDocker: true
secrets: inherit