Skip to content

Merge branch 'cert-matrix' of https://github.com/amd-aliem/sev-certif… #1

Merge branch 'cert-matrix' of https://github.com/amd-aliem/sev-certif…

Merge branch 'cert-matrix' of https://github.com/amd-aliem/sev-certif… #1

name: Update Certification Matrix Table in README
on:
push:
paths:
- 'cert-matrix/cert-matrix.csv'
workflow_dispatch:
jobs:
update-matrix-table:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
run: |
pip install pandas
- name: Update README with Markdown table
run: |
python .github/scripts/csv_to_markdown_table.py
- name: Commit and push changes
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add README.md
git commit -m 'Auto-update Certification Matrix table in README' || echo 'No changes to commit'
git push
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}