Skip to content

Intermediate state for new branch #12

Intermediate state for new branch

Intermediate state for new branch #12

Workflow file for this run

# Copyright 2022-2024 Universität Tübingen, DKFZ and EMBL
# for the German Human Genome-Phenome Archive (GHGA)
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Check if the README files are up to date
on: push
env:
PYTHON_VERSION: '3.9'
IFRS_CONFIG_YAML: ./services/ifrs/dev_config.yaml
IRS_CONFIG_YAML: ./services/irs/dev_config.yaml
PCS_CONFIG_YAML: ./services/pcs/dev_config.yaml
jobs:
build-cache:
uses: ./.github/workflows/prepare_build_cache.yaml
with:
cache-key: ${{ github.sha }}
check-repo-readme:
name: Check repository README file
needs: build-cache
runs-on: ubuntu-latest
steps:
- name: Check top level README
id: check-main-readme
run: |
python3 scripts/update_readme_monorepo.py --check
check-service-readme:
name: Check README file for ${{matrix.service}}
needs: build-cache
if: ${{ needs.build-cache.outputs.services != '' }}
runs-on: ubuntu-latest
strategy:
matrix:
service: ${{ fromJson(jobs.build-cache.outputs.services) }}

Check failure on line 50 in .github/workflows/check_readmes.yaml

View workflow run for this annotation

GitHub Actions / Check if the README files are up to date

Invalid workflow file

The workflow is not valid. .github/workflows/check_readmes.yaml (Line: 50, Col: 18): Unrecognized named-value: 'jobs'. Located at position 10 within expression: fromJson(jobs.build-cache.outputs.services) .github/workflows/check_readmes.yaml (Line: 50, Col: 18): Unexpected value '${{ fromJson(jobs.build-cache.outputs.services) }}'
fail-fast: false
steps:
- name: Check service level READMEs
id: check-service-readmes
run: |
python3 scripts/update_readme_services.py --check --service ${{matrix.service}}