Add validator to prevent buffer being larger than url life #354
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
name: Check if the README files are up to date | |
on: push | |
env: | |
IFRS_CONFIG_YAML: ./services/ifrs/dev_config.yaml | |
IRS_CONFIG_YAML: ./services/irs/dev_config.yaml | |
PCS_CONFIG_YAML: ./services/pcs/dev_config.yaml | |
UCS_CONFIG_YAML: ./services/ucs/dev_config.yaml | |
DCS_CONFIG_YAML: ./services/dcs/dev_config.yaml | |
EKSS_CONFIG_YAML: ./services/ekss/dev_config.yaml | |
FIS_CONFIG_YAML: ./services/fis/dev_config.yaml | |
jobs: | |
get-changed-services: | |
uses: ./.github/workflows/get_affected_services.yaml | |
check-repo-readme: | |
name: Check repository README file | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Update pip and install dependencies | |
id: install-dependencies | |
run: python -m pip install --upgrade pip && pip install --no-deps -r ./lock/requirements-dev.txt | |
- 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: get-changed-services | |
if: ${{ needs.get-changed-services.outputs.services != '' && needs.get-changed-services.outputs.services != '[]' }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
service: ${{ fromJson(needs.get-changed-services.outputs.services) }} | |
fail-fast: false | |
steps: | |
- name: Checkout repository | |
id: checkout | |
uses: actions/checkout@v4 | |
- name: Set up Python 3.12 | |
id: setup-python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.12 | |
- name: Update pip and install dependencies | |
id: install-dependencies | |
run: python -m pip install --upgrade pip && pip install --no-deps -r ./lock/requirements-dev.txt | |
- name: Check service level READMEs | |
id: check-service-readmes | |
run: | | |
python3 scripts/update_readme_services.py --check ${{matrix.service}} |