Intermediate state for new branch #12
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 GitHub Actions / Check if the README files are up to dateInvalid workflow file
|
||
fail-fast: false | ||
steps: | ||
- name: Check service level READMEs | ||
id: check-service-readmes | ||
run: | | ||
python3 scripts/update_readme_services.py --check --service ${{matrix.service}} |