Merge branch 'cert-matrix' of https://github.com/amd-aliem/sev-certif… #1
Workflow file for this run
This file contains hidden or 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: 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 }} |