Skip to content

fix: ignore document updates when building #13

fix: ignore document updates when building

fix: ignore document updates when building #13

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 }}