changing style

This commit is contained in:
2025-08-11 15:01:15 +00:00
parent 10853b594e
commit 9658aa0415

View File

@ -65,12 +65,15 @@ jobs:
id: metadata
shell: python
run: |
# python3 <<EOF > parsed.env
import yaml, os
with open("metadata.yaml") as f:
data = yaml.safe_load(f)
print(f"SERVICE_TITLE={data['categories']['security-services'][0]['service_title']}")
print(f"SERVICE_TYPE={data['categories']['security-services'][0]['service_type']}")
print(f"SERVICE_CATEGORY={data['categories']['security-services'][0]['service_category']}")
# EOF
# cat parsed.env >> $GITHUB_ENV
- name: Use config values
run: |
@ -100,7 +103,7 @@ jobs:
- name: Read project docs configuration and extract needed vars
id: read_docs_config
run: |
python3 <<EOF > docs_vars.env
python3 <<EOF
import yaml
import os
import json